summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Hollingsworth <jhworth.developer@gmail.com>2014-01-30 19:12:41 -0600
committerJason Hollingsworth <jhworth.developer@gmail.com>2014-01-30 19:18:59 -0600
commit25d93987d4667ad1aa1d9550117685ce14f9d5cb (patch)
tree46e8dc916a50baf26632f86d11604ec20771139e
parent74f1da10d1e6923c347426de9603df7bd8919e09 (diff)
downloadgitlab-ce-25d93987d4667ad1aa1d9550117685ce14f9d5cb.tar.gz
Fix shifting line numbers.
-rw-r--r--app/assets/stylesheets/generic/highlight.scss7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/stylesheets/generic/highlight.scss b/app/assets/stylesheets/generic/highlight.scss
index f8316caca97..4110bddf4f3 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;
}
}
}