]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix button height
authorChocobozzz <me@florianbigard.com>
Mon, 6 Mar 2023 10:21:52 +0000 (11:21 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 7 Mar 2023 09:18:32 +0000 (10:18 +0100)
client/src/sass/include/_mixins.scss

index e41fe9389bbc6e31021be6686ccbe1602f4d678a..0f301dab2518debf065dbfbd828b6b7b5b3d71b8 100644 (file)
 @mixin orange-button-inverted {
   @include button-focus(pvar(--mainColorLightest));
 
+  padding: 2px 13px;
   border: 2px solid pvar(--mainColor);
   font-weight: $font-semibold;
 
   cursor: pointer;
 
   font-size: $button-font-size;
+  line-height: $button-font-size + math.round(math.div($button-font-size, 2));
 
   my-global-icon + * {
     @include margin-right(4px);
     width: $width;
     top: $top;
   }
+
+  span {
+    vertical-align: middle;
+  }
 }
 
 @mixin peertube-file {