diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-20 11:27:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-20 11:32:04 +0100 |
commit | d9a37011c32e1313f2b7703733ac595ef208c6a2 (patch) | |
tree | ba186909bf94c2785a20e48f206983370ddb9069 /client/src/sass/include/_mixins.scss | |
parent | 420a6043cc579d6fc342adcfe8107daf51664761 (diff) | |
download | PeerTube-d9a37011c32e1313f2b7703733ac595ef208c6a2.tar.gz PeerTube-d9a37011c32e1313f2b7703733ac595ef208c6a2.tar.zst PeerTube-d9a37011c32e1313f2b7703733ac595ef208c6a2.zip |
Remove button height
Prefer using padding instead
Diffstat (limited to 'client/src/sass/include/_mixins.scss')
-rw-r--r-- | client/src/sass/include/_mixins.scss | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 0df849167..34af9e8c1 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -90,9 +90,8 @@ | |||
90 | } | 90 | } |
91 | 91 | ||
92 | @mixin peertube-input-text($width) { | 92 | @mixin peertube-input-text($width) { |
93 | padding: 0 15px; | 93 | padding: 4px 15px; |
94 | display: inline-block; | 94 | display: inline-block; |
95 | height: $button-height; | ||
96 | width: $width; | 95 | width: $width; |
97 | max-width: $width; | 96 | max-width: $width; |
98 | color: pvar(--inputForegroundColor); | 97 | color: pvar(--inputForegroundColor); |
@@ -401,12 +400,11 @@ | |||
401 | } | 400 | } |
402 | 401 | ||
403 | select { | 402 | select { |
404 | padding: 0 35px 0 12px; | 403 | padding: 4px 35px 4px 12px; |
405 | position: relative; | 404 | position: relative; |
406 | border: 1px solid pvar(--inputBorderColor); | 405 | border: 1px solid pvar(--inputBorderColor); |
407 | background: transparent none; | 406 | background: transparent none; |
408 | appearance: none; | 407 | appearance: none; |
409 | height: $button-height; | ||
410 | text-overflow: ellipsis; | 408 | text-overflow: ellipsis; |
411 | color: pvar(--mainForegroundColor); | 409 | color: pvar(--mainForegroundColor); |
412 | font-size: $form-input-font-size; | 410 | font-size: $form-input-font-size; |