Add scrolling to Organized Content nav on smaller screens

amy-organized-content-sidebar-scroll
Amy 2 years ago
parent b219a36eaf
commit 42439996b9
  1. 10
      components/OrganizedContent.module.css

@ -23,9 +23,12 @@
.nav {
top: calc(20rem / 16);
bottom: calc(60rem / 16);
position: sticky;
height: 100%;
margin: calc(8rem / 16) calc(32rem / 16) 0 0;
height: calc(94vh - (20rem / 16));
flex-shrink: 0;
overflow: auto;
margin: calc(8rem / 16) calc(32rem / 16) calc(20rem / 16) 0;
color: var(--primary-heading);
font-weight: 500;
}
@ -189,9 +192,10 @@
top: 0;
left: 0;
overflow-y: auto;
bottom: unset;
z-index: 30;
height: 100%;
margin: 0;
background: var(--primary-accent-lighter);
width: calc(288rem / 16);

Loading…
Cancel
Save