Stop the array fields soft-wrapping so numbers and stripes stay in register
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user