forked from extern/egroupware
Make checkbox vertically line up with surroundings
This commit is contained in:
parent
04ac4d6045
commit
7a05318d49
@ -23,6 +23,11 @@ export class Et2Checkbox extends Et2InputWidget(SlCheckbox)
|
||||
...shoelace,
|
||||
...super.styles,
|
||||
css`
|
||||
:host {
|
||||
/* Make it line up with the middle of surroundings */
|
||||
margin: auto 0px;
|
||||
vertical-align: -webkit-baseline-middle;
|
||||
}
|
||||
:host([disabled]) {
|
||||
display:initial;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user