mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +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