diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-09-10 15:39:20 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-09-10 17:05:38 +0200 |
commit | 6387145adc6567b64e20757c462f11b53e5f4b3b (patch) | |
tree | 5a7698cb43fad899b81fac61c463256ea0518039 /xP/public | |
parent | f3cc1373423b8bab3e2c364318d7e0857e79098a (diff) | |
download | xK-6387145adc6567b64e20757c462f11b53e5f4b3b.tar.gz xK-6387145adc6567b64e20757c462f11b53e5f4b3b.tar.xz xK-6387145adc6567b64e20757c462f11b53e5f4b3b.zip |
xP: improve line wrapping
Diffstat (limited to 'xP/public')
-rw-r--r-- | xP/public/xP.css | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xP/public/xP.css b/xP/public/xP.css index 2e9d4b5..c9cb36c 100644 --- a/xP/public/xP.css +++ b/xP/public/xP.css @@ -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; } |