Et2Button: Fix disabled was still hiding the event even if hideonreadonly was false

This commit is contained in:
nathan 2022-09-22 15:20:21 -06:00
parent bea34ad403
commit 91bd7d5a43

View File

@ -62,9 +62,14 @@ export const ButtonMixin = <T extends Constructor>(superclass : T) => class exte
max-width: 125px;
min-width: fit-content;
}
/* Override general disabled=hide from Et2Widget */
:host([disabled]) {
display: initial;
}
:host([hideonreadonly][disabled]) {
display:none;
}
/* Set size for icon */
::slotted(img.imageOnly) {
padding-right: 0px !important;