From 6df2f3fdd973e22bbdf7c5ecd2542ba4a5dd5513 Mon Sep 17 00:00:00 2001 From: Amy Date: Mon, 4 Oct 2021 00:39:17 -0400 Subject: [PATCH] Reorganize CSS properties --- components/OrganizedContent.module.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/components/OrganizedContent.module.css b/components/OrganizedContent.module.css index 28c866b5..685746d5 100644 --- a/components/OrganizedContent.module.css +++ b/components/OrganizedContent.module.css @@ -22,13 +22,15 @@ } .nav { + position: sticky; + overflow: auto; + flex-shrink: 0; + top: calc(20rem / 16); bottom: calc(60rem / 16); - position: sticky; - height: calc(94vh - (20rem / 16)); - flex-shrink: 0; - overflow: auto; margin: calc(8rem / 16) calc(32rem / 16) calc(20rem / 16) 0; + height: calc(94vh - (20rem / 16)); + color: var(--primary-heading); font-weight: 500; }