aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpublic/css/gogs.css4
-rwxr-xr-xpublic/less/_octicons.less4
2 files changed, 6 insertions, 2 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index d58c4e25..19a34b8f 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -5,7 +5,9 @@
font-style: normal;
}
.octicon,
-.mega-octicon {
+.mega-octicon,
+.icon.octicon,
+.icon.mega-octicon {
font: normal normal normal 16px/1 octicons;
display: inline-block;
text-decoration: none;
diff --git a/public/less/_octicons.less b/public/less/_octicons.less
index dfd437e6..a159dec8 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;