Skip to content

Commit c2775fa

Browse files
Mayank-Tripathi32Mayank-Tripathi32annezazu
authored andcommitted
Fix: Fixed styling tab not opening on themes without style variations on mobile & desktop (#67537)
Co-authored-by: Mayank-Tripathi32 <[email protected]> Co-authored-by: annezazu <[email protected]>
1 parent ef7b9c6 commit c2775fa

File tree

1 file changed

+7
-1
lines changed
  • packages/edit-site/src/components/sidebar-navigation-screen-global-styles

1 file changed

+7
-1
lines changed

packages/edit-site/src/components/sidebar-navigation-screen-global-styles/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ export function SidebarNavigationItemGlobalStyles( props ) {
4141
/>
4242
);
4343
}
44-
return <SidebarNavigationItem { ...props } />;
44+
return (
45+
<SidebarNavigationItem
46+
{ ...props }
47+
to="/styles"
48+
aria-current={ name === 'styles' }
49+
/>
50+
);
4551
}
4652

4753
export default function SidebarNavigationScreenGlobalStyles() {

0 commit comments

Comments
 (0)