From a721967df23c79d19f713a8849d62914e37d2483 Mon Sep 17 00:00:00 2001 From: Stuart Date: Wed, 24 May 2023 12:36:52 +0100 Subject: [PATCH] Fix: Update navigation height less variable to css variable (fixes #50) * Add css adapt variable * Update package.json --- less/backgroundSwitcher.less | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/less/backgroundSwitcher.less b/less/backgroundSwitcher.less index d420d43..024d294 100644 --- a/less/backgroundSwitcher.less +++ b/less/backgroundSwitcher.less @@ -7,7 +7,7 @@ &__item { position: fixed; - top: @navigation-height; + top: var(--adapt-navigation-height); left: 50%; right: 0; margin: auto; diff --git a/package.json b/package.json index ab2414b..be6b7a1 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "url": "git://github.com/cgkineo/adapt-backgroundSwitcher" }, "version": "5.0.0", - "framework": ">=5.8", + "framework": ">=5.30.3", "homepage": "https://github.com/cgkineo/adapt-backgroundSwitcher", "issues": "https://github.com/cgkineo/adapt-backgroundSwitcher/issues/", "extension": "backgroundSwitcher",