My Technical documentation Page-Passed but I have a question

My Technical documentation Page-Passed but I have a question
0

#1

hey guys,
I finished the technical documentation Page,but I have a question about the code class.
If I want to make the white space smaller than what it is now,I don’t like a whole lot empty space on the right,how could I do to make it just fit the code area ?Thank you
The code at the moment is

code{

white space:pre;
}
https://codepen.io/HannahJiang/pen/vzgGBM


#2

I am assuming you are talking about the space on top and bottom of your code blocks.

Simply remove your padding in your <code> and it will do the trick :slight_smile:


#3

Thanks
But I mean to say space on the right of the blocks.:joy:


#4

Make your code display:inline-block.


#5

Oh yeah,thank you !

:smiley: