Skip to content

Commit

Permalink
Update icon hover/focus style and popover position
Browse files Browse the repository at this point in the history
  • Loading branch information
bogiii committed Dec 22, 2024
1 parent 3dc15c8 commit 12aba69
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,12 @@
width: 24px;
height: auto;
}

&:hover,
&:focus {
svg {
fill: var(--color-text-inverted);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ export default function ContextMenu( { className }: Props ) {
];

return (
<EllipsisMenu className={ className } popoverClassName={ `${ className }-popover` }>
<EllipsisMenu
className={ className }
popoverClassName={ `${ className }-popover` }
position="bottom"
>
{ options.map( ( option, key ) => (
<PopoverMenuItem key={ key } { ...option }>
{ option.label }
Expand Down

0 comments on commit 12aba69

Please sign in to comment.