From f246de82f44b7debc18e6d6c63088202513abac8 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 5 Jul 2023 12:54:41 +0200 Subject: [PATCH] :lipstick: Add cosmetic changes to measures menu component --- .../workspace/sidebar/options/menus/measures.cljs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs index 4bf23fe9f..0a1703388 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs @@ -88,16 +88,16 @@ selection-parents-ref (mf/use-memo (mf/deps ids) #(refs/parents-by-ids ids)) selection-parents (mf/deref selection-parents-ref) - flex-child? (->> selection-parents (some ctl/flex-layout?)) - absolute? (ctl/layout-absolute? shape) - flex-container? (ctl/flex-layout? shape) - flex-auto-width? (ctl/auto-width? shape) - flex-fill-width? (ctl/fill-width? shape) + flex-child? (->> selection-parents (some ctl/flex-layout?)) + absolute? (ctl/layout-absolute? shape) + flex-container? (ctl/flex-layout? shape) + flex-auto-width? (ctl/auto-width? shape) + flex-fill-width? (ctl/fill-width? shape) flex-auto-height? (ctl/auto-height? shape) flex-fill-height? (ctl/fill-height? shape) - disabled-position-x? (and flex-child? (not absolute?)) - disabled-position-y? (and flex-child? (not absolute?)) + disabled-position-x? (and flex-child? (not absolute?)) + disabled-position-y? (and flex-child? (not absolute?)) disabled-width-sizing? (and (or flex-child? flex-container?) (or flex-auto-width? flex-fill-width?) (not absolute?))