diff options
| -rw-r--r-- | src/content/style.css | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/content/style.css b/src/content/style.css index 1232457..220fb43 100644 --- a/src/content/style.css +++ b/src/content/style.css @@ -258,9 +258,18 @@ pre.lineno { overflow-x: auto; } +/* Collapsed, so the numbers sit flush against the code. Left + separate, the cells stand two pixels apart: pinning the first to + the left edge moves it by that much, and the gap it leaves is a + strip the code scrolls through in plain view. */ +.listingblock table { + border-collapse: collapse; +} + .listingblock td:first-child { position: sticky; left: 0; + z-index: 1; background-color: var(--color-code-bg); } |
