Merge pull request #482 from grimsteel/patch-1

Precise widths for `code-line` and `code-side-line`
This commit is contained in:
Rodrigo Fernandes 2023-03-04 23:40:54 +00:00 committed by GitHub
commit 551a0b407f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@
display: inline-block;
white-space: nowrap;
user-select: none;
width: 100%;
width: calc(100% - 16em);
/* Compensate for the absolute positioning of the line numbers */
padding: 0 8em;
}
@ -133,7 +133,7 @@
display: inline-block;
white-space: nowrap;
user-select: none;
width: auto;
width: calc(100% - 9em);
/* Compensate for the absolute positioning of the line numbers */
padding: 0 4.5em;
}