Skip to content

Commit

Permalink
Fix: Fixed styling tab not opening on themes without style variations…
Browse files Browse the repository at this point in the history
… on mobile & desktop (#67537)

Co-authored-by: Mayank-Tripathi32 <[email protected]>
Co-authored-by: annezazu <[email protected]>
  • Loading branch information
3 people authored Dec 3, 2024
1 parent 40b8653 commit f32a49e
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ export function SidebarNavigationItemGlobalStyles( props ) {
/>
);
}
return <SidebarNavigationItem { ...props } />;
return (
<SidebarNavigationItem
{ ...props }
to="/styles"
aria-current={ name === 'styles' }
/>
);
}

export default function SidebarNavigationScreenGlobalStyles() {
Expand Down

1 comment on commit f32a49e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in f32a49e.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12149484747
📝 Reported issues:

Please sign in to comment.