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;
|
||||
width: $checkbox-size;
|
||||
height: $checkbox-size;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.mat-mdc-checkbox,
|
||||
@ -24,10 +25,14 @@ $ripple-size: 26px;
|
||||
--mdc-checkbox-selected-hover-state-layer-color: var(--iqser-primary);
|
||||
--mdc-checkbox-selected-pressed-state-layer-color: var(--iqser-primary);
|
||||
|
||||
.mdc-form-field > label {
|
||||
padding-left: 8px;
|
||||
line-height: 24px;
|
||||
white-space: nowrap;
|
||||
.mdc-form-field {
|
||||
align-items: start;
|
||||
|
||||
& > label {
|
||||
padding-left: 8px;
|
||||
line-height: 24px;
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.mdc-checkbox__ripple {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user