Skip to content

Commit

Permalink
fix(ui-buttons): fix hover enabled when a component is disabled
Browse files Browse the repository at this point in the history
The issue was that the entry before the hover CSS selector contained an extra '}' sign, which causes
Emotion to go crazy and put subsequent CSS classes into the global scope instead of just the
specific DOM part
  • Loading branch information
matyasf authored and balzss committed Jul 31, 2024
1 parent 0363846 commit f55dc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui-buttons/src/BaseButton/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const generateComponentTheme = (theme: Theme): BaseButtonTheme => {
primaryBackground: colors?.contrasts?.blue4570,
primaryHoverBackground: colors?.contrasts?.blue5782,
primaryActiveBackground: colors?.contrasts?.blue5782,
primaryActiveBoxShadow: `${activeShadow} "#013451"}`,
primaryActiveBoxShadow: `${activeShadow} ${colors?.contrasts?.white1010}`,
primaryGhostColor: colors?.contrasts?.blue4570,
primaryGhostBorderColor: colors?.contrasts?.blue4570,
primaryGhostBackground: 'transparent',
Expand Down

0 comments on commit f55dc3e

Please sign in to comment.