Fix code overflow
This commit is contained in:
parent
8a832250a0
commit
a296efcd58
@ -1,14 +1,19 @@
|
||||
//.language-yaml {
|
||||
pre {
|
||||
display:flex;
|
||||
align-items: center;
|
||||
min-height: 3rem;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
padding: .5rem;
|
||||
margin: .5rem 0;
|
||||
overflow-y: auto;
|
||||
padding: 0.5rem;
|
||||
margin: 0.5rem 0;
|
||||
border-radius: 5px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
code {
|
||||
display: inline-block;
|
||||
word-break: break-word;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.project-wrapper {
|
||||
|
Loading…
Reference in New Issue
Block a user