From af3507a829b66d1179f020931d1bf2f41e77890d Mon Sep 17 00:00:00 2001 From: Vladimir Polyakov Date: Wed, 9 Dec 2015 21:11:35 +0300 Subject: [PATCH] fix issue with counter wrapping and terminal width --- static/css/sources/components/terminal.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/css/sources/components/terminal.less b/static/css/sources/components/terminal.less index 2dd88d8..1dd133f 100644 --- a/static/css/sources/components/terminal.less +++ b/static/css/sources/components/terminal.less @@ -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);