Skip to content

Commit

Permalink
[fix] Show drop-shadow on all high contrast modes for clickable panels
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Dec 12, 2024
1 parent 38ddf2e commit ae36491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eui/src/components/panel/panel.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const euiPanelStyles = (euiThemeContext: UseEuiTheme) => {
${highContrastModeStyles(euiThemeContext, {
none: euiShadow(euiThemeContext, 'l'),
// Windows high contrast themes ignore box-shadows - use a filter workaround instead
forced: `
preferred: `
filter: drop-shadow(0 ${euiTheme.border.width.thick} 0 ${euiTheme.border.color});
`,
})}
Expand Down

0 comments on commit ae36491

Please sign in to comment.