xP: improve line wrapping

This commit is contained in:
Přemysl Eric Janouch 2022-09-10 15:39:20 +02:00
parent f3cc137342
commit 6387145adc
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 7 additions and 7 deletions

View File

@ -89,15 +89,19 @@ body {
}
.buffer {
display: grid;
grid-template-columns: max-content auto;
grid-template-columns: max-content minmax(0, 1fr);
overflow-y: auto;
}
.log {
padding: .1em .3em;
font-family: monospace;
white-space: pre-wrap;
overflow-y: auto;
}
.log, .content {
padding: .1em .3em;
/* Note: https://bugs.chromium.org/p/chromium/issues/detail?id=1261435 */
white-space: break-spaces;
overflow-wrap: break-word;
}
.leaked {
opacity: 50%;
@ -136,10 +140,6 @@ body {
.mark.action {
color: darkred;
}
.content {
padding: .1em .3em;
white-space: pre-wrap;
}
.content .b {
font-weight: bold;
}