From 25d93987d4667ad1aa1d9550117685ce14f9d5cb Mon Sep 17 00:00:00 2001 From: Jason Hollingsworth Date: Thu, 30 Jan 2014 19:12:41 -0600 Subject: [PATCH] Fix shifting line numbers. --- app/assets/stylesheets/generic/highlight.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/generic/highlight.scss b/app/assets/stylesheets/generic/highlight.scss index f8316ca..4110bdd 100644 --- a/app/assets/stylesheets/generic/highlight.scss +++ b/app/assets/stylesheets/generic/highlight.scss @@ -33,20 +33,21 @@ padding: 10px; text-align: right; float: left; - width: 60px; a { font-family: $monospace_font; display: block; font-size: 12px !important; line-height: 16px !important; + white-space: nowrap; i { - display: none; + visibility: hidden; + @extend .pull-left; } &:hover i { - display: inline; + visibility: visible; } } } -- libgit2 0.21.2