diff options
author | Chocobozzz <me@florianbigard.com> | 2023-03-06 11:21:52 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-03-07 10:18:32 +0100 |
commit | 464e4ed92c119c8f5d8ae561ad1d27a90d2581a0 (patch) | |
tree | e338becae6bc5b4f82ca4e4b51fe1e1a4875cd68 | |
parent | 68773f79face7d26c5109f7b31e04d5932c9d204 (diff) | |
download | PeerTube-464e4ed92c119c8f5d8ae561ad1d27a90d2581a0.tar.gz PeerTube-464e4ed92c119c8f5d8ae561ad1d27a90d2581a0.tar.zst PeerTube-464e4ed92c119c8f5d8ae561ad1d27a90d2581a0.zip |
Fix button height
-rw-r--r-- | client/src/sass/include/_mixins.scss | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index e41fe9389..0f301dab2 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -155,6 +155,7 @@ | |||
155 | @mixin orange-button-inverted { | 155 | @mixin orange-button-inverted { |
156 | @include button-focus(pvar(--mainColorLightest)); | 156 | @include button-focus(pvar(--mainColorLightest)); |
157 | 157 | ||
158 | padding: 2px 13px; | ||
158 | border: 2px solid pvar(--mainColor); | 159 | border: 2px solid pvar(--mainColor); |
159 | font-weight: $font-semibold; | 160 | font-weight: $font-semibold; |
160 | 161 | ||
@@ -263,6 +264,7 @@ | |||
263 | cursor: pointer; | 264 | cursor: pointer; |
264 | 265 | ||
265 | font-size: $button-font-size; | 266 | font-size: $button-font-size; |
267 | line-height: $button-font-size + math.round(math.div($button-font-size, 2)); | ||
266 | 268 | ||
267 | my-global-icon + * { | 269 | my-global-icon + * { |
268 | @include margin-right(4px); | 270 | @include margin-right(4px); |
@@ -312,6 +314,10 @@ | |||
312 | width: $width; | 314 | width: $width; |
313 | top: $top; | 315 | top: $top; |
314 | } | 316 | } |
317 | |||
318 | span { | ||
319 | vertical-align: middle; | ||
320 | } | ||
315 | } | 321 | } |
316 | 322 | ||
317 | @mixin peertube-file { | 323 | @mixin peertube-file { |