Skip to content

Commit

Permalink
simplify solution
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinashakirova committed Nov 19, 2024
1 parent c04177e commit 2f48438
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function TopNavMenuItem(props: TopNavMenuData & { isMobileMenu?: boolean
) : props.emphasize ? (
// fill is not compatible with EuiHeaderLink
<EuiButton
size={!props.isMobileMenu ? 's' : undefined}
size="s"
fullWidth={props.isMobileMenu}
{...commonButtonProps}
fill={props.fill ?? true}
Expand Down

0 comments on commit 2f48438

Please sign in to comment.