summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-11-30 15:38:58 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-02 21:33:32 +0100
commit22b0dfbb35f10f22ef0485e289f44532d7a71863 (patch)
tree8fb55f74fa053914ab21719711fe74a2b036e182 /public/less
parent4a64ae4abf3d4ca4dc4ed9ae2373c9e48497bf73 (diff)
downloadgitea-22b0dfbb35f10f22ef0485e289f44532d7a71863.tar.gz
gitea-22b0dfbb35f10f22ef0485e289f44532d7a71863.zip
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.
Diffstat (limited to 'public/less')
-rwxr-xr-xpublic/less/_octicons.less4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/less/_octicons.less b/public/less/_octicons.less
index dfd437e6b1..a159dec851 100755
--- a/public/less/_octicons.less
+++ b/public/less/_octicons.less
@@ -14,7 +14,9 @@
// .octicon is optimized for 16px.
// .mega-octicon is optimized for 32px but can be used larger.
-.octicon, .mega-octicon {
+.octicon, .mega-octicon,
+// ensure Semantic UI .icon of 14px does not apply to .icon.octicon:
+.icon.octicon, .icon.mega-octicon {
font: normal normal normal 16px/1 octicons;
display: inline-block;
text-decoration: none;