Fix button icons so they don't get space when not there

This commit is contained in:
nathan 2021-09-14 11:43:43 -06:00
parent 9e6bd22b4f
commit 3c7da204c5

View File

@ -36,10 +36,14 @@ export class Et2Button extends Et2InputWidget(SlotMixin(LionButton))
display: none; display: none;
} }
/* Set size for icon */ /* Set size for icon */
::slotted([slot="icon"]) { ::slotted([slot="icon"][src]) {
width: 20px; width: 20px;
padding-right: 3px; padding-right: 3px;
}`, }
::slotted([slot="icon"][src='']) {
display: none;
}
`,
]; ];
} }