Skip to content

Commit

Permalink
Quality: Remove unused props and styles from SidebarNavigationScreen (W…
Browse files Browse the repository at this point in the history
…ordPress#68972)

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
3 people authored Jan 31, 2025
1 parent 09c8278 commit eab1a3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default function SidebarNavigationScreen( {
isRoot,
title,
actions,
meta,
content,
footer,
description,
Expand Down Expand Up @@ -121,14 +120,6 @@ export default function SidebarNavigationScreen( {
</div>
) }
</HStack>
{ meta && (
<>
<div className="edit-site-sidebar-navigation-screen__meta">
{ meta }
</div>
</>
) }

<div className="edit-site-sidebar-navigation-screen__content">
{ description && (
<p className="edit-site-sidebar-navigation-screen__description">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,6 @@
}
}

.edit-site-sidebar-navigation-screen__meta {
margin: 0 0 $grid-unit-20 $grid-unit-20;
color: $gray-400;
.components-text {
color: $gray-400;
}
}

.edit-site-sidebar-navigation-screen__page-link {
color: $gray-600;
display: inline-block;
word-break: break-word;

&:hover,
&:focus {
color: $white;
}

.components-external-link__icon {
margin-left: $grid-unit-05;
}
}

.edit-site-sidebar-navigation-screen__title-icon {
position: sticky;
top: 0;
Expand Down

0 comments on commit eab1a3b

Please sign in to comment.