mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
Secondary menu no longer scrolls beyond a certain screen size in order to be able to display all elements
This commit is contained in:
@@ -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