Skip to content

Commit fa15cec

Browse files
committed
[PR feedback] Remove click deadzones
1 parent 882611b commit fa15cec

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.styles.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,11 @@ export const euiCollapsibleNavAccordionStyles = (
9797
`,
9898
// Arrow element
9999
euiCollapsibleNavAccordion__arrow: css`
100+
/* Ensure there's no non-clickable deadzones in the accordion trigger wrapper */
101+
margin: 0;
102+
${logicalCSS('height', sharedStyles.height)}
100103
/* Slight visual offset from edge of entire item */
101-
${logicalCSS('margin-right', euiTheme.size.xs)}
104+
${logicalCSS('width', euiTheme.size.xl)}
102105
103106
/* Rotate the arrow icon, not the button itself -
104107
* otherwise the background rotates and looks a bit silly */

0 commit comments

Comments
 (0)