diff --git a/backend/src/app/rpc.clj b/backend/src/app/rpc.clj index d365fd909..9b1f9509a 100644 --- a/backend/src/app/rpc.clj +++ b/backend/src/app/rpc.clj @@ -7,7 +7,6 @@ (ns app.rpc (:require [app.auth.ldap :as-alias ldap] - [app.common.data :as d] [app.common.exceptions :as ex] [app.common.logging :as l] [app.common.spec :as us] diff --git a/common/src/app/common/geom/shapes/flex_layout/bounds.cljc b/common/src/app/common/geom/shapes/flex_layout/bounds.cljc index fea42fcad..9cce53ed4 100644 --- a/common/src/app/common/geom/shapes/flex_layout/bounds.cljc +++ b/common/src/app/common/geom/shapes/flex_layout/bounds.cljc @@ -68,6 +68,12 @@ (gpt/add base-p (hv 0.01)) (gpt/add base-p (vv 0.01))] + col? + (conj (gpt/add base-p (vv min-height))) + + row? + (conj (gpt/add base-p (hv min-width))) + (and col? h-start?) (conj (gpt/add base-p (hv min-width))) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs index 3ca283c50..7245fe2ad 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs @@ -340,8 +340,7 @@ (when-not (empty? measure-ids) [:& measures-menu {:type type :all-types all-types :ids measure-ids :values measure-values :shape shapes}]) - (when has-layout-container? - [:& layout-container-menu {:type type :ids layout-container-ids :values layout-container-values :multiple true}]) + [:& layout-container-menu {:type type :ids layout-container-ids :values layout-container-values :multiple true}] (when (or is-layout-child? has-layout-container?) [:& layout-item-menu