From c81ff8b444d106994089936ceed0f30b26950fa6 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 1 Dec 2022 13:03:39 -0700 Subject: [PATCH] Fix disabled buttons had different styling than normal buttons --- api/js/etemplate/Et2Button/ButtonMixin.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Button/ButtonMixin.ts b/api/js/etemplate/Et2Button/ButtonMixin.ts index 82494c79a3..b859e077f5 100644 --- a/api/js/etemplate/Et2Button/ButtonMixin.ts +++ b/api/js/etemplate/Et2Button/ButtonMixin.ts @@ -61,10 +61,11 @@ export const ButtonMixin = (superclass : T) => class exte /* These should probably come from somewhere else */ max-width: 125px; min-width: fit-content; + display: block; } /* Override general disabled=hide from Et2Widget */ :host([disabled]) { - display: initial; + display: block; } :host([hideonreadonly][disabled]) { display:none !important;