fix: fix the "pre" and "code" have different width when codefences are too wide

This commit is contained in:
Junyi 2024-04-23 13:00:52 +08:00
parent 6965a86c4d
commit 764e110d32

View File

@ -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; */