Browse Source

CSS: Ensure Octicons are used with 16px font size

Semantic UI .icon 1em font-size has priority over .octicon 16px, resulting
octicons rendered at 14px font-size, which is not okay since Octicons are meant
to be shown sizes that are multiples of 16px.
pull/2064/head
Adam Strzelecki 9 years ago
parent
commit
3a98824b8d
  1. 4
      public/css/gogs.css

4
public/css/gogs.css

@ -5,7 +5,9 @@
font-style: normal; font-style: normal;
} }
.octicon, .octicon,
.mega-octicon { .mega-octicon,
.icon.octicon,
.icon.mega-octicon {
font: normal normal normal 16px/1 octicons; font: normal normal normal 16px/1 octicons;
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;

Loading…
Cancel
Save