Skip to content

Commit 901c6eb

Browse files
DaoDaoNoCodemprahl
authored andcommitted
Fix flickering problem when clicking on some disabled buttons
1 parent b5a819e commit 901c6eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlflow/server/js/src/common/styles/patternfly/pf-shell-overrides.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@
9393
}
9494
}
9595

96-
&:hover,
97-
&:hover:active,
98-
&:hover:focus {
96+
&:hover:not(:disabled),
97+
&:hover:active:not(:disabled),
98+
&:hover:focus:not(:disabled) {
9999
color: var(--pf-t--global--text--color--brand--hover) !important;
100100
background: transparent !important;
101101
&::after {
@@ -190,7 +190,7 @@
190190
color: var(--pf-t--global--text--color--status--on-danger--default) !important;
191191
border-color: transparent !important;
192192

193-
&:hover {
193+
&:hover:not(:disabled) {
194194
color: var(--pf-t--global--text--color--status--on-danger--hover) !important;
195195
}
196196

0 commit comments

Comments
 (0)