Fix ng select tags height
This commit is contained in:
parent
64553e8809
commit
ebe9b6b3f3
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue