From 71c51105b9abadcdec75fcb9fd7ce2167e45ae3e Mon Sep 17 00:00:00 2001 From: Valery Zinchenko Date: Mon, 17 Apr 2023 18:00:40 +0300 Subject: [PATCH] add variable `width` to layouts --- styles/layouts.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/styles/layouts.scss b/styles/layouts.scss index b741b5e..cc38a97 100644 --- a/styles/layouts.scss +++ b/styles/layouts.scss @@ -26,6 +26,7 @@ copies or substantial portions of the Software. height: 100%; min-width: 20em; + width: var(--drawer-width, auto); max-width: 50vw; margin-left: auto; @@ -69,6 +70,7 @@ copies or substantial portions of the Software. border-radius: 1em; min-width: 20em; + width: var(--popup-width, auto); max-width: 75vw; max-height: 90vh;