-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
… at all times
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,7 +147,10 @@ export default function SidebarNavigationScreenPage() { | |
<HStack | ||
spacing={ 5 } | ||
alignment="left" | ||
className="edit-site-sidebar-navigation-screen-page__details" | ||
className={ classnames( | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
andrewserong
Author
Contributor
|
||
'edit-site-sidebar-navigation-screen-page__details', | ||
'edit-site-sidebar-navigation-screen-page__footer' | ||
) } | ||
> | ||
<Text className="edit-site-sidebar-navigation-screen-page__details-label"> | ||
{ __( 'Last modified' ) } | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,12 @@ | |
position: relative; | ||
} | ||
|
||
.edit-site-sidebar-navigation-screen__main { | ||
// Ensure the sidebar is always at least as tall as the viewport. | ||
// This allows the footer section to be sticky at the bottom of the viewport. | ||
flex-grow: 1; | ||
This comment has been minimized.
Sorry, something went wrong.
ramonjd
Member
|
||
} | ||
|
||
.edit-site-sidebar-navigation-screen__content { | ||
margin: 0 0 $grid-unit-20 0; | ||
color: $gray-400; | ||
|
@@ -86,3 +92,10 @@ | |
margin: $grid-unit-40 $grid-unit-20; | ||
border-top: 1px solid $gray-800; | ||
} | ||
|
||
.edit-site-sidebar-navigation-screen__footer { | ||
position: sticky; | ||
bottom: 0; | ||
background-color: $gray-900; | ||
padding: $grid-unit-20 0; | ||
} |
Is
classnames
needed here?