mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
AAE-24675 Fix text alignment in dateitem card view element (#10024)
* AAE-24675 Fix text alignment in dateitem card view element * AAE-24675 Break words in checkbox and radio button labels to avoid overflow
This commit is contained in:
parent
394d064f37
commit
d2b0fab677
@ -12,7 +12,6 @@
|
||||
&.adf-property-value-editable {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
border-radius: 6px;
|
||||
border-bottom: inherit;
|
||||
margin-bottom: 18px;
|
||||
|
@ -2,6 +2,7 @@
|
||||
[class.adf-invalid]="!field.isValid && isTouched()">
|
||||
<mat-checkbox [id]="field.id"
|
||||
color="primary"
|
||||
class="adf-checkbox"
|
||||
[required]="isRequired()"
|
||||
[disabled]="field.readOnly || readOnly"
|
||||
[(ngModel)]="field.value"
|
||||
|
@ -30,6 +30,13 @@ import { WidgetComponent } from '../widget.component';
|
||||
selector: 'checkbox-widget',
|
||||
standalone: true,
|
||||
templateUrl: './checkbox.widget.html',
|
||||
styles: [
|
||||
`
|
||||
.adf-checkbox {
|
||||
word-break: break-word;
|
||||
}
|
||||
`
|
||||
],
|
||||
host: {
|
||||
'(click)': 'event($event)',
|
||||
'(blur)': 'event($event)',
|
||||
|
@ -43,9 +43,8 @@
|
||||
margin: 5px;
|
||||
|
||||
label {
|
||||
span {
|
||||
white-space: normal;
|
||||
}
|
||||
white-space: normal;
|
||||
word-break: break-word;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user