Skip to content

Commit

Permalink
Fix: Update navigation height less variable to css variable (fixes #50)
Browse files Browse the repository at this point in the history
* Add css adapt variable

* Update package.json
  • Loading branch information
StuartNicholls authored May 24, 2023
1 parent 7252c9e commit a721967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion less/backgroundSwitcher.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

&__item {
position: fixed;
top: @navigation-height;
top: var(--adapt-navigation-height);
left: 50%;
right: 0;
margin: auto;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a721967

Please sign in to comment.