Precise widths for code-line and code-side-line
The widths of these are now calculated based on: 100% minus the horizontal padding
This commit is contained in:
parent
09cbe87595
commit
32239a0b9d
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue