mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-30 20:29:46 +01:00
Merge pull request #1105 from scm-manager/bugfix/scrollable_menu
Bugfix/scrollable menu
This commit is contained in:
@@ -34615,7 +34615,7 @@ exports[`Storyshots Navigation|Secondary Default 1`] = `
|
||||
className="column is-3"
|
||||
>
|
||||
<aside
|
||||
className="SecondaryNavigation__SectionContainer-sc-8p1rgi-0 bfoGdF menu"
|
||||
className="SecondaryNavigation__SectionContainer-sc-8p1rgi-0 hcDqkI menu"
|
||||
>
|
||||
<div>
|
||||
<p
|
||||
@@ -34677,7 +34677,7 @@ exports[`Storyshots Navigation|Secondary Extension Point 1`] = `
|
||||
className="column is-3"
|
||||
>
|
||||
<aside
|
||||
className="SecondaryNavigation__SectionContainer-sc-8p1rgi-0 bfoGdF menu"
|
||||
className="SecondaryNavigation__SectionContainer-sc-8p1rgi-0 hcDqkI menu"
|
||||
>
|
||||
<div>
|
||||
<p
|
||||
@@ -34765,7 +34765,7 @@ exports[`Storyshots Navigation|Secondary Sub Navigation 1`] = `
|
||||
className="column is-3"
|
||||
>
|
||||
<aside
|
||||
className="SecondaryNavigation__SectionContainer-sc-8p1rgi-0 bfoGdF menu"
|
||||
className="SecondaryNavigation__SectionContainer-sc-8p1rgi-0 hcDqkI menu"
|
||||
>
|
||||
<div>
|
||||
<p
|
||||
|
||||
@@ -38,6 +38,11 @@ const SectionContainer = styled.aside`
|
||||
position: sticky;
|
||||
position: -webkit-sticky; /* Safari */
|
||||
top: 2rem;
|
||||
|
||||
@media (max-height: 900px) {
|
||||
position: relative;
|
||||
top: 0;
|
||||
}
|
||||
`;
|
||||
|
||||
const Icon = styled.i<CollapsedProps>`
|
||||
|
||||
Reference in New Issue
Block a user