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 and michalczaplinski committed Dec 5, 2024
1 parent ef7b9c6 commit c2775fa
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

0 comments on commit c2775fa

Please sign in to comment.