From e9f40ded2eaa80b984c1344ce5ed488658513c69 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Sun, 5 Sep 2021 11:40:32 +0100 Subject: [PATCH] improve menu form indent on small screens --- src/component/form/indent/index.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/component/form/indent/index.css b/src/component/form/indent/index.css index a84983c6..7c13c60a 100644 --- a/src/component/form/indent/index.css +++ b/src/component/form/indent/index.css @@ -1,6 +1,12 @@ :root { - --indent-size: 5; - --indent-space: calc((var(--indent-size) / 2) * 1em); + --indent-size: 6; + --indent-space: calc((var(--indent-size) / 4) * 1em); +} + +@media (min-width: 900px) { + :root { + --indent-size: 10; + } } .form-indent {