Skip to content

A platform for community discussion. Free, open, simple.

DEV: Define --footer-nav-height css var (#14008)

Mark VanLandingham3119b881aa6c
diff --git a/app/assets/stylesheets/common/components/footer-nav.scss b/app/assets/stylesheets/common/components/footer-nav.scss
index 71ed2f9af5d..194fd4baaf5 100644
--- a/app/assets/stylesheets/common/components/footer-nav.scss
+++ b/app/assets/stylesheets/common/components/footer-nav.scss
@@ -2,7 +2,10 @@
// Footer nav bar (displayed in DiscourseHub app and PWAs)
// --------------------------------------------------
-$footer-nav-height: 49px;
+:root {
+ --footer-nav-height: 49px;
+}
+$footer-nav-height: var(--footer-nav-height);
body.footer-nav-visible {
#main-outlet {