Skip to content

Commit

Permalink
Move manage link to dynamic pages group
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster authored and tellthemachines committed May 26, 2023
1 parent 91f49c5 commit 604f219
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,17 +157,17 @@ export default function SidebarNavigationScreenPages() {
) ?? __( '(no title)' ) }
</PageItem>
) ) }
<SidebarNavigationItem
className="edit-site-sidebar-navigation-screen-pages__see-all"
href="edit.php?post_type=page"
onClick={ () => {
document.location =
'edit.php?post_type=page';
} }
>
{ __( 'Manage all pages' ) }
</SidebarNavigationItem>
</VStack>
<SidebarNavigationItem
className="edit-site-sidebar-navigation-screen-pages__see-all"
href="edit.php?post_type=page"
onClick={ () => {
document.location =
'edit.php?post_type=page';
} }
>
{ __( 'Manage all pages' ) }
</SidebarNavigationItem>
</ItemGroup>
) }
</>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.edit-site-sidebar-navigation-screen-pages__see-all {
/* Overrides the margin that comes from the Item component */
margin-top: $grid-unit-20 !important;
}
.edit-site-sidebar-navigation-screen__sticky-section.edit-site-sidebar-navigation-screen__sticky-section {
position: sticky;
bottom: 0;
Expand Down

0 comments on commit 604f219

Please sign in to comment.