Make width responsive through a CSS variable that's accessed in React

This commit is contained in:
Zac Ioannidis
2020-10-29 11:42:00 +00:00
parent 4fdfd12401
commit d1f4ade83d
2 changed files with 6 additions and 1 deletions

View File

@@ -64,3 +64,8 @@ $vimeo-height: $panel-height / 2;
$banner-height: 100px;
$padding: 20px;
$header-inset: 10px;
// CSS variables (for React access)
:root {
--toolbar-width: 110px;
}