extract navigation drawer height as variable
authorDan Allen <dan@opendevise.com>
Thu, 8 Feb 2018 03:06:18 +0000 (20:06 -0700)
committerDan Allen <dan@opendevise.com>
Thu, 8 Feb 2018 03:06:18 +0000 (20:06 -0700)
src/css/navigation-explore.css
src/css/navigation.css

index 85cbcc8..2943c15 100644 (file)
@@ -20,7 +20,7 @@
   /* font-size: 0.75rem; */
   font-size: 0.8824em;
   line-height: 1;
-  height: var(--toolbar-height);
+  height: var(--drawer-height);
 }
 
 .navigation-explore.is-active .current {
index aaa0d22..36979ee 100644 (file)
@@ -1,3 +1,7 @@
+:root {
+  --drawer-height: 2.5rem;
+}
+
 .navigation-container {
   display: none;
   position: fixed;