Browse Source

fix button heights on commits page (#3091)

silverwind 2 years ago
parent
commit
3b89ee5501
2 changed files with 13 additions and 6 deletions
  1. 1 1
      public/css/index.css
  2. 12 5
      public/less/_base.less

File diff suppressed because it is too large
+ 1 - 1
public/css/index.css


+ 12 - 5
public/less/_base.less

@@ -146,11 +146,18 @@ pre, code {
146 146
         }
147 147
     }
148 148
 
149
-   &.menu,
150
-   &.vertical.menu,
151
-   &.segment {
152
-       box-shadow: none;
153
-   }
149
+    &.menu,
150
+    &.vertical.menu,
151
+    &.segment {
152
+        box-shadow: none;
153
+    }
154
+
155
+    /* overide semantic selector '.ui.menu:not(.vertical) .item > .button' */
156
+    .menu:not(.vertical) .item .button {
157
+        padding-bottom: .78571429em;
158
+        padding-top: .78571429em;
159
+        font-size: 1em;
160
+    }
154 161
 
155 162
     .text {
156 163
         &.red {