Fix navbar at the top of the page (#2128)

This commit is contained in:
Florian Scholdei
2022-10-11 16:01:22 +02:00
committed by GitHub
parent ca047b7953
commit 33f7dd994a
7 changed files with 46 additions and 40 deletions

View File

@@ -40,7 +40,7 @@ type CollapsedProps = {
const SectionContainer = styled.aside`
position: sticky;
position: -webkit-sticky; /* Safari */
top: 2rem;
top: 5rem;
width: 100%;
@media (max-height: 900px) {