fix: fix the "pre" and "code" have different width when codefences are too wide
This commit is contained in:
parent
6965a86c4d
commit
764e110d32
@ -252,6 +252,7 @@ div.highlight pre {
|
|||||||
border: none;
|
border: none;
|
||||||
display: grid;
|
display: grid;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
overflow: auto; /* Have to add this line, otherwise the "pre" and "code" will have different width */
|
||||||
/* padding-left: 10px; */
|
/* padding-left: 10px; */
|
||||||
/* padding-right: 10px; */
|
/* padding-right: 10px; */
|
||||||
/* padding-top: 10px; */
|
/* padding-top: 10px; */
|
||||||
|
Loading…
Reference in New Issue
Block a user