mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-02-11 09:29:16 +00:00
fix issue with counter wrapping and terminal width
This commit is contained in:
parent
7f8471924e
commit
af3507a829
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
&_code {
|
&_code {
|
||||||
display: table;
|
display: table;
|
||||||
min-height: 42px;
|
width: 100%;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
color: #f1f1f1;
|
color: #f1f1f1;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
@ -30,14 +30,15 @@
|
|||||||
|
|
||||||
&_counter {
|
&_counter {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
vertical-align: top;
|
|
||||||
width: 1px;
|
width: 1px;
|
||||||
|
vertical-align: middle;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: darken(@gray-lighter, 15%);
|
color: darken(@gray-lighter, 15%);
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
border-right: 1px solid rgba(255, 255, 255, 0.1);
|
border-right: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
content: counter(line-numbering);
|
content: counter(line-numbering);
|
||||||
|
Loading…
Reference in New Issue
Block a user