Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/eui/changelogs/upcoming/9681.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Removed the `translateY` transform on clickable `EuiPanel`s
4 changes: 1 addition & 3 deletions packages/eui/src/components/panel/panel.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ export const euiPanelStyles = (euiThemeContext: UseEuiTheme) => {
isClickable: css`
${euiCanAnimate} {
transition: box-shadow ${euiTheme.animation.fast}
${euiTheme.animation.resistance},
transform ${euiTheme.animation.fast} ${euiTheme.animation.resistance};
${euiTheme.animation.resistance};
}

&:enabled {
Expand All @@ -106,7 +105,6 @@ export const euiPanelStyles = (euiThemeContext: UseEuiTheme) => {
}
`,
})}
transform: translateY(-2px);
cursor: pointer;
}
`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ export const euiSplitPanelInnerStyles = (euiThemeContext: UseEuiTheme) => {
/* Make sure they're evenly split */
flex-basis: 0%;

/* Ensure no movement if they have click handlers */
/* stylelint-disable declaration-no-important */
transform: none !important;
box-shadow: none !important;
`,

Expand Down
Loading