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;
|
display: inline-block;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
width: 100%;
|
width: calc(100% - 16em);
|
||||||
/* Compensate for the absolute positioning of the line numbers */
|
/* Compensate for the absolute positioning of the line numbers */
|
||||||
padding: 0 8em;
|
padding: 0 8em;
|
||||||
}
|
}
|
||||||
|
|
@ -133,7 +133,7 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
width: auto;
|
width: calc(100% - 9em);
|
||||||
/* Compensate for the absolute positioning of the line numbers */
|
/* Compensate for the absolute positioning of the line numbers */
|
||||||
padding: 0 4.5em;
|
padding: 0 4.5em;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue