Commit 25d93987d4667ad1aa1d9550117685ce14f9d5cb
1 parent
74f1da10
Exists in
spb-stable
and in
3 other branches
Fix shifting line numbers.
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
app/assets/stylesheets/generic/highlight.scss
| ... | ... | @@ -33,20 +33,21 @@ |
| 33 | 33 | padding: 10px; |
| 34 | 34 | text-align: right; |
| 35 | 35 | float: left; |
| 36 | - width: 60px; | |
| 37 | 36 | |
| 38 | 37 | a { |
| 39 | 38 | font-family: $monospace_font; |
| 40 | 39 | display: block; |
| 41 | 40 | font-size: 12px !important; |
| 42 | 41 | line-height: 16px !important; |
| 42 | + white-space: nowrap; | |
| 43 | 43 | |
| 44 | 44 | i { |
| 45 | - display: none; | |
| 45 | + visibility: hidden; | |
| 46 | + @extend .pull-left; | |
| 46 | 47 | } |
| 47 | 48 | |
| 48 | 49 | &:hover i { |
| 49 | - display: inline; | |
| 50 | + visibility: visible; | |
| 50 | 51 | } |
| 51 | 52 | } |
| 52 | 53 | } | ... | ... |