Compare commits
1 Commits
a296efcd58
...
28c29f0d30
Author | SHA1 | Date | |
---|---|---|---|
28c29f0d30 |
@ -1,19 +1,23 @@
|
|||||||
//.language-yaml {
|
//.language-yaml {
|
||||||
pre {
|
pre {
|
||||||
display: block;
|
display: flex; /* Enables flexbox */
|
||||||
|
align-items: center; /* Vertically centers the content */
|
||||||
|
justify-content: space-between; /* Allows space for the copy button on the right */
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
min-height: 3rem; /* Maintains a consistent height */
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
white-space: pre;
|
white-space: pre; /* Keeps code formatting */
|
||||||
|
box-sizing: border-box; /* Includes padding in width calculation */
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
word-break: break-word;
|
word-break: break-word; /* Prevents long words from breaking the layout */
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap; /* Allows wrapping of long strings */
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-wrapper {
|
.project-wrapper {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user