RED-9433: added auto line-break for checkbox label overflow.
This commit is contained in:
parent
9bbaecb7e5
commit
fb4b58a496
@ -5,6 +5,7 @@ $ripple-size: 26px;
|
|||||||
flex: 0 0 $checkbox-size;
|
flex: 0 0 $checkbox-size;
|
||||||
width: $checkbox-size;
|
width: $checkbox-size;
|
||||||
height: $checkbox-size;
|
height: $checkbox-size;
|
||||||
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mat-mdc-checkbox,
|
.mat-mdc-checkbox,
|
||||||
@ -24,10 +25,14 @@ $ripple-size: 26px;
|
|||||||
--mdc-checkbox-selected-hover-state-layer-color: var(--iqser-primary);
|
--mdc-checkbox-selected-hover-state-layer-color: var(--iqser-primary);
|
||||||
--mdc-checkbox-selected-pressed-state-layer-color: var(--iqser-primary);
|
--mdc-checkbox-selected-pressed-state-layer-color: var(--iqser-primary);
|
||||||
|
|
||||||
.mdc-form-field > label {
|
.mdc-form-field {
|
||||||
padding-left: 8px;
|
align-items: start;
|
||||||
line-height: 24px;
|
|
||||||
white-space: nowrap;
|
& > label {
|
||||||
|
padding-left: 8px;
|
||||||
|
line-height: 24px;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mdc-checkbox__ripple {
|
.mdc-checkbox__ripple {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user