diff --git a/_styles/main.css b/_styles/main.css index 8737367cc5..46b48ce608 100644 --- a/_styles/main.css +++ b/_styles/main.css @@ -19,7 +19,6 @@ body { font-weight: 400; margin: 0; min-height: 100vh; - overflow-x: hidden; } *, @@ -245,6 +244,11 @@ nav { min-width: 100%; overflow-x: auto; white-space: nowrap; + position: sticky; + position: -webkit-sticky; + top: 0; + z-index: 10; + background-color: #fff; } @media (max-width: 768px) { @@ -378,6 +382,7 @@ body { #content-container { flex-grow: 1; + overflow-x: hidden; } footer { @@ -779,7 +784,7 @@ select, .button { appearance: none; background-color: transparent; - background-image: linear-gradient(to bottom, transparent, transparent 50%, rgba(0, 0, 0, 0.04)); + background-image: linear-gradient(to bottom, transparent, transparent 50%,rgba(0, 0, 0, 0.04)); border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 3px; box-shadow: