our bi-images fix for firefox esr

(cherry picked from commit 813401c432)
This commit is contained in:
milan 2024-12-04 14:29:12 +01:00
parent 511889656e
commit 3867c2146a

View File

@ -95,6 +95,9 @@ export const ButtonMixin = <T extends Constructor>(superclass : T) => class exte
display: flex;
font-size: 20px !important;
padding-left: var(--et2-button-image-padding-left);
/*fix for firefox esr: this version does not set a width on the image to fill available space
so we force the button images to be square*/
width: 20px;
}
::slotted([slot="icon"][src='']) {
display: none;