From 60994c76670e74e349810c2c38ec0adc70d5e984 Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Wed, 5 Aug 2026 18:24:06 -0400 Subject: [PATCH] Stop the array fields soft-wrapping so numbers and stripes stay in register --- Plugin/unraid/css/varaverk.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Plugin/unraid/css/varaverk.css b/Plugin/unraid/css/varaverk.css index 122e1f6..1bdc714 100644 --- a/Plugin/unraid/css/varaverk.css +++ b/Plugin/unraid/css/varaverk.css @@ -346,9 +346,14 @@ body.vv-fullscreen #displaybox { padding-left: 1rem !important; padding-top: .5r text-align: right; font-family: monospace; font-size: 11px; line-height: 18px; color: #3a3a3a; background: #0a0a0a; border-right: 1px solid #1c1c1c; overflow: hidden; user-select: none; white-space: pre; } +/* No soft wrap. A wrapped line takes two or three visual rows while the gutter prints one number + for it, so the numbers and the stripes drift further out of register with every long entry — + and the trailing comments in DAILY_MAINTENANCE_SCRIPTS are long. Scrolling sideways is the + same trade the main script editor already makes for the same reason. */ .vv-cf-array { display: block; width: 100%; box-sizing: border-box; background-color: transparent; border: none; color: #ccc; padding: 8px; font-family: monospace; font-size: 11px; line-height: 18px; resize: vertical; min-height: 60px; + white-space: pre; overflow-x: auto; background-image: repeating-linear-gradient(rgba(255,255,255,0) 0 18px, rgba(255,255,255,0.028) 18px 36px); background-origin: content-box; background-attachment: local; }