summaryrefslogtreecommitdiffstats
path: root/public/less/_base.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2017-12-07 02:26:12 +0100
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-12-07 09:26:12 +0800
commit1ed7f1881589b3831b2fe36fa9228f82c1b9b83e (patch)
tree5937aac6888492b7625241e9f34bc82ab77cbd25 /public/less/_base.less
parent54907dfbd198628a2da18b8e1f350dd4e4f54514 (diff)
downloadgitea-1ed7f1881589b3831b2fe36fa9228f82c1b9b83e.tar.gz
gitea-1ed7f1881589b3831b2fe36fa9228f82c1b9b83e.zip
Rework button styles on repo and commit page (#3104)
Diffstat (limited to 'public/less/_base.less')
-rw-r--r--public/less/_base.less12
1 files changed, 7 insertions, 5 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index 498cacc1f7..296074d4a8 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -152,11 +152,13 @@ pre, code {
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;
+ /* Overide semantic selector '.ui.menu:not(.vertical) .item > .button' */
+ /* This fixes the commit graph button on the commits page */
+ .menu:not(.vertical) .item > .button.compact {
+ padding: .58928571em 1.125em;
+ }
+ .menu:not(.vertical) .item > .button.small {
+ font-size: .92857143rem;
}
.text {