summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2017-12-05 07:31:33 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-12-05 14:31:33 +0800
commit3b89ee5501335e263a73fe61abebf812a00def35 (patch)
tree47a7b573eaed7b097113b56db3989f4083948030 /public/less
parente2968b4c986c8359da834e8a9dcfea506468a542 (diff)
downloadgitea-3b89ee5501335e263a73fe61abebf812a00def35.tar.gz
gitea-3b89ee5501335e263a73fe61abebf812a00def35.zip
fix button heights on commits page (#3091)
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_base.less17
1 files changed, 12 insertions, 5 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index 3f29fc2147..498cacc1f7 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -146,11 +146,18 @@ pre, code {
}
}
- &.menu,
- &.vertical.menu,
- &.segment {
- box-shadow: none;
- }
+ &.menu,
+ &.vertical.menu,
+ &.segment {
+ box-shadow: none;
+ }
+
+ /* overide semantic selector '.ui.menu:not(.vertical) .item > .button' */
+ .menu:not(.vertical) .item .button {
+ padding-bottom: .78571429em;
+ padding-top: .78571429em;
+ font-size: 1em;
+ }
.text {
&.red {