Skip to content

Commit

Permalink
changelog + minor stylelint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Sep 6, 2023
1 parent 3e82e7e commit b673bde
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@ import { UseEuiTheme } from '../../../services';
import { logicalCSS } from '../../../global_styling';

export const euiAccordionArrowStyles = ({ euiTheme }: UseEuiTheme) => ({
// !important overrides override EuiButtonIcon's default transforms
euiAccordion__arrow: css`
/* stylelint-disable declaration-no-important */
flex-shrink: 0;
${logicalCSS('margin-right', euiTheme.size.xs)}
transform: rotate(
0deg
) !important; /* stylelint-disable-line declaration-no-important */
transform: rotate(0deg) !important;
`,
isOpen: css`
transform: rotate(
90deg
) !important; /* stylelint-disable-line declaration-no-important */
transform: rotate(90deg) !important;
`,
right: css`
${logicalCSS('margin-left', euiTheme.size.xs)}
Expand Down
4 changes: 4 additions & 0 deletions upcoming_changelogs/7161.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**Accessibility**

- `EuiAccordion` now correctly respects reduced motion settings

0 comments on commit b673bde

Please sign in to comment.