OSDN Git Service

Fix shifting line numbers.
authorJason Hollingsworth <jhworth.developer@gmail.com>
Fri, 31 Jan 2014 01:12:41 +0000 (19:12 -0600)
committerJason Hollingsworth <jhworth.developer@gmail.com>
Fri, 31 Jan 2014 01:18:59 +0000 (19:18 -0600)
app/assets/stylesheets/generic/highlight.scss

index f8316ca..4110bdd 100644 (file)
     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;
       }
     }
   }