From a49dc408268757380995d828634911bd43ee3484 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 16:40:54 +0200 Subject: [PATCH] rgb: fix layout when alpha slider is present --- src/scss/widgets/pads.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/scss/widgets/pads.scss b/src/scss/widgets/pads.scss index 513953e5..6522d176 100644 --- a/src/scss/widgets/pads.scss +++ b/src/scss/widgets/pads.scss @@ -62,7 +62,7 @@ &.contains-alpha > inner { grid-template: "a a b" auto - "c c c" 20rem / 1fr; + "c c c" calc(20rem + var(--widget-spacing) * 2) / 1fr; } .widget { @@ -115,7 +115,8 @@ .alpha { grid-area: c; - + height: auto!important; + width: auto!important; --alpha-stroke: 0; --alpha-fill-off: 0.1; --alpha-fill-on: 0.25;