Remove button height

Prefer using padding instead
pull/5616/head
Chocobozzz 2023-02-20 11:27:49 +01:00
parent 420a6043cc
commit d9a37011c3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 4 additions and 6 deletions

View File

@ -339,7 +339,8 @@
.input-group {
> .btn,
> .input-group-text {
height: $button-height;
padding-top: 4px;
padding-bottom: 4px;
}
> .input-group-text {

View File

@ -90,9 +90,8 @@
}
@mixin peertube-input-text($width) {
padding: 0 15px;
padding: 4px 15px;
display: inline-block;
height: $button-height;
width: $width;
max-width: $width;
color: pvar(--inputForegroundColor);
@ -401,12 +400,11 @@
}
select {
padding: 0 35px 0 12px;
padding: 4px 35px 4px 12px;
position: relative;
border: 1px solid pvar(--inputBorderColor);
background: transparent none;
appearance: none;
height: $button-height;
text-overflow: ellipsis;
color: pvar(--mainForegroundColor);
font-size: $form-input-font-size;

View File

@ -39,7 +39,6 @@ $expanded-horizontal-margins: 150px;
$not-expanded-horizontal-margins: 30px;
$button-font-size: 15px;
$button-height: 30px;
$header-height: 50px;
$header-border-color: #e9eff6;