mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
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