Fix ng select tags height

This commit is contained in:
Chocobozzz 2021-10-20 14:50:46 +02:00
parent 64553e8809
commit ebe9b6b3f3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 20 additions and 2 deletions

View File

@ -52,6 +52,11 @@
@include peertube-select-container(150px); @include peertube-select-container(150px);
} }
my-select-tags {
min-width: 250px;
max-width: 400px;
}
> * { > * {
@include margin-left(10px); @include margin-left(10px);
} }

View File

@ -1,3 +1,14 @@
ng-select ::ng-deep .ng-arrow-wrapper { ng-select ::ng-deep {
display: none; .ng-arrow-wrapper {
display: none;
}
.ng-value-container {
padding-top: 2px !important;
}
.ng-value {
margin-bottom: 2px !important;
max-height: 24px;
}
} }

View File

@ -356,6 +356,7 @@
background: pvar(--inputBackgroundColor); background: pvar(--inputBackgroundColor);
position: relative; position: relative;
font-size: 15px; font-size: 15px;
height: min-content;
&.disabled { &.disabled {
background-color: #E5E5E5; background-color: #E5E5E5;

View File

@ -23,6 +23,7 @@ $ng-select-value-font-size: 15px;
&.ng-select-focused { &.ng-select-focused {
&:not(.ng-select-opened) > .ng-select-container { &:not(.ng-select-opened) > .ng-select-container {
border-color: #ccc !important; border-color: #ccc !important;
box-shadow: none !important;
} }
} }