Timewindow: update styles for inputs which may have empty suffix
This commit is contained in:
parent
055555d4a0
commit
d5c9035ffe
@ -26,4 +26,12 @@
|
|||||||
.mat-mdc-select-value {
|
.mat-mdc-select-value {
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
}
|
}
|
||||||
|
.mat-mdc-form-field-has-icon-suffix {
|
||||||
|
.mat-mdc-text-field-wrapper:has(.mat-mdc-form-field-icon-suffix:empty) {
|
||||||
|
padding-right: 12px;
|
||||||
|
}
|
||||||
|
.mat-mdc-form-field-icon-suffix:empty {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,3 +24,14 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host ::ng-deep {
|
||||||
|
.mat-mdc-form-field-has-icon-suffix {
|
||||||
|
.mat-mdc-text-field-wrapper:has(.mat-mdc-form-field-icon-suffix:empty) {
|
||||||
|
padding-right: 12px;
|
||||||
|
}
|
||||||
|
.mat-mdc-form-field-icon-suffix:empty {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -27,6 +27,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
:host ::ng-deep {
|
:host ::ng-deep {
|
||||||
|
.mat-mdc-form-field-has-icon-suffix {
|
||||||
|
.mat-mdc-text-field-wrapper:has(.mat-mdc-form-field-icon-suffix:empty) {
|
||||||
|
padding-right: 12px;
|
||||||
|
}
|
||||||
|
.mat-mdc-form-field-icon-suffix:empty {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
.number-input {
|
.number-input {
|
||||||
.mat-mdc-form-field-infix {
|
.mat-mdc-form-field-infix {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
|
|||||||
@ -381,16 +381,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.mat-mdc-form-field-has-icon-suffix {
|
|
||||||
.mat-mdc-form-field-icon-suffix:empty {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.mat-mdc-text-field-wrapper:has(.mat-mdc-form-field-icon-suffix:empty) {
|
|
||||||
&.mdc-text-field--outlined, &:not(.mdc-text-field--outlined) {
|
|
||||||
padding-right: 12px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.mat-mdc-text-field-wrapper {
|
.mat-mdc-text-field-wrapper {
|
||||||
&.mdc-text-field--outlined, &:not(.mdc-text-field--outlined) {
|
&.mdc-text-field--outlined, &:not(.mdc-text-field--outlined) {
|
||||||
&:not(.mdc-text-field--focused):not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(:hover) {
|
&:not(.mdc-text-field--focused):not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(:hover) {
|
||||||
@ -799,15 +789,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mat-mdc-form-field-has-icon-suffix {
|
|
||||||
.mat-mdc-form-field-icon-suffix:empty {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.mat-mdc-text-field-wrapper:has(.mat-mdc-form-field-icon-suffix:empty) {
|
|
||||||
&.mdc-text-field--outlined, &:not(.mdc-text-field--outlined) {
|
|
||||||
padding-right: 16px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user