Merge pull request #2 from artzhuchka/patch-1

Terminal code fix
This commit is contained in:
Oleg Korobenko 2015-12-09 18:23:16 +03:00
commit 7f8471924e

View File

@ -7,19 +7,17 @@
}
&_code {
clear: left;
display: table;
min-height: 42px;
padding: 15px 0;
color: #F1F1F1;
padding: 10px 0;
color: #f1f1f1;
font-family: monospace;
font-size: 12px;
line-height: 19px;
line-height: 18px;
white-space: pre-wrap;
word-wrap: break-word;
background-color: #2a2a2a;
counter-reset: line-numbering;
margin-top: 0;
overflow-y: scroll;
}
&_footer {
@ -28,24 +26,24 @@
}
.code-line {
position: relative;
padding: 0 15px 0 55px;
margin: 0;
min-height: 16px;
display: table-row;
&_counter {
display: inline-block;
display: table-cell;
vertical-align: top;
width: 1px;
text-align: right;
min-width: 40px;
margin-left: -33px;
cursor: pointer;
text-decoration: none;
color: darken(@gray-lighter, 15%);
padding: 0 10px;
border-right: 1px solid rgba(255, 255, 255, 0.1);
&:before {
content: counter(line-numbering);
counter-increment: line-numbering;
padding-right: 1em;
}
&:hover {
text-decoration: none;
color: @gray-lighter;
@ -53,7 +51,9 @@
}
&_body {
display: inline-block;
display: table-cell;
vertical-align: top;
padding: 0 10px;
}
&:hover {