1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 22:44:11 +00:00

[CL-457] Center input text for select and multiselect (#11239)

This commit is contained in:
Victoria League
2024-09-25 16:49:12 -04:00
committed by GitHub
parent a38419889e
commit aeaaca1e62

View File

@@ -117,6 +117,7 @@ $ng-dropdown-shadow: rgb(var(--color-secondary-100)) !default;
}
.ng-input {
padding-top: 2px;
> input {
color: $ng-select-input-text;
}
@@ -127,8 +128,9 @@ $ng-dropdown-shadow: rgb(var(--color-secondary-100)) !default;
.ng-select-container {
height: $ng-select-height;
.ng-value-container {
display: flex;
height: 100%;
.ng-input {
top: 5px;
left: 0;
padding-left: $ng-select-value-padding-left;
padding-right: 50px;
@@ -152,7 +154,7 @@ $ng-dropdown-shadow: rgb(var(--color-secondary-100)) !default;
}
.ng-select-container {
.ng-value-container {
padding-top: 5px;
height: 100%;
@include rtl {
padding-left: 0;
}
@@ -203,9 +205,6 @@ $ng-dropdown-shadow: rgb(var(--color-secondary-100)) !default;
}
}
}
.ng-placeholder {
padding-bottom: 0.25rem;
}
}
}
}