summaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-06-07 20:25:52 +0200
committerGitHub <noreply@github.com>2020-06-07 19:25:52 +0100
commit880ae454db47b7a736024df230d115f83a108b02 (patch)
tree6f47c296bc17e5b5921fed064817353f36e39c6e /web_src/less/_base.less
parent479ef5c3794ed47ac02771816b1c88c9a509cbb7 (diff)
downloadgitea-880ae454db47b7a736024df230d115f83a108b02.tar.gz
gitea-880ae454db47b7a736024df230d115f83a108b02.zip
Work around fomantic 2.8.5 bugs (#11767)
Work around fomantic 2.8.5 bugs Closes #11759 Related fomantic/Fomantic-UI#1372 and fomantic/Fomantic-UI#1473
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 3756f8686e..e8bb407a0b 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -1048,6 +1048,14 @@ i.icon.centerlock {
top: 1.45em;
}
+// temporary workaround for fomantic 2.8.5 bug
+// https://github.com/go-gitea/gitea/pull/11767
+i.icon,
+i.icons {
+ vertical-align: unset;
+ line-height: unset;
+}
+
.ui.label {
padding: .3em .5em;
}