mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fix button icons so they don't get space when not there
This commit is contained in:
parent
9e6bd22b4f
commit
3c7da204c5
@ -36,10 +36,14 @@ export class Et2Button extends Et2InputWidget(SlotMixin(LionButton))
|
||||
display: none;
|
||||
}
|
||||
/* Set size for icon */
|
||||
::slotted([slot="icon"]) {
|
||||
::slotted([slot="icon"][src]) {
|
||||
width: 20px;
|
||||
padding-right: 3px;
|
||||
}`,
|
||||
}
|
||||
::slotted([slot="icon"][src='']) {
|
||||
display: none;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user