fix issue with counter wrapping and terminal width

This commit is contained in:
Vladimir Polyakov 2015-12-09 21:11:35 +03:00
parent 7f8471924e
commit af3507a829

View File

@ -8,7 +8,7 @@
&_code {
display: table;
min-height: 42px;
width: 100%;
padding: 10px 0;
color: #f1f1f1;
font-family: monospace;
@ -30,14 +30,15 @@
&_counter {
display: table-cell;
vertical-align: top;
width: 1px;
vertical-align: middle;
text-align: right;
cursor: pointer;
text-decoration: none;
color: darken(@gray-lighter, 15%);
padding: 0 10px;
border-right: 1px solid rgba(255, 255, 255, 0.1);
white-space: nowrap;
&:before {
content: counter(line-numbering);