From ee44a6674f2234a344e51b8e0a439ac2207a42c6 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Wed, 7 Feb 2018 20:06:18 -0700 Subject: [PATCH] extract navigation drawer height as variable --- src/css/navigation-explore.css | 2 +- src/css/navigation.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/css/navigation-explore.css b/src/css/navigation-explore.css index 85cbcc8..2943c15 100644 --- a/src/css/navigation-explore.css +++ b/src/css/navigation-explore.css @@ -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 { diff --git a/src/css/navigation.css b/src/css/navigation.css index aaa0d22..36979ee 100644 --- a/src/css/navigation.css +++ b/src/css/navigation.css @@ -1,3 +1,7 @@ +:root { + --drawer-height: 2.5rem; +} + .navigation-container { display: none; position: fixed; -- 2.11.0