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:
parent
efc48e83e8
commit
dd5ed051b9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue