fix(styles): change code block to inline-block display

Modified the display property of code blocks from block to inline-block to improve layout consistency and handle overflow-x better. This ensures better alignment with surrounding elements and more predictable rendering behavior. No visible design alterations should occur.
This commit is contained in:
Kumi 2024-08-25 18:50:00 +02:00
parent efc48e83e8
commit dd5ed051b9
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -567,7 +567,7 @@ figure,
background-color: #f9f9f9; background-color: #f9f9f9;
border: 1px solid #ddd; border: 1px solid #ddd;
max-width: 100%; max-width: 100%;
display: block; display: inline-block;
overflow-x: auto; overflow-x: auto;
width: fit-content; width: fit-content;
} }