From 9a272f69c7c6cc30587a58f17ea25d7da67153c1 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Wed, 1 Mar 2023 11:45:00 +0100 Subject: [PATCH] :bug: Fix height 100% cropped --- .../ui/workspace/sidebar/options/menus/layout_item.cljs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_item.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_item.cljs index af4f796d2..8ce57f231 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_item.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_item.cljs @@ -112,7 +112,7 @@ {:alt "Width 100%" :class (dom/classnames :active (= layout-item-h-sizing :fill)) :on-click #(on-change-behavior :h :fill)} - i/auto-fill]) + i/auto-fill]) (when auto? [:button.behavior-btn.tooltip.tooltip-bottom {:alt "Fit content" @@ -125,9 +125,9 @@ {:alt "Fix height" :class (dom/classnames :active (= layout-item-v-sizing :fix)) :on-click #(on-change-behavior :v :fix)} - i/auto-fix-layout] + i/auto-fix-layout] (when fill? - [:button.behavior-btn.tooltip.tooltip-bottom + [:button.behavior-btn.tooltip.tooltip-bottom-left {:alt "Height 100%" :class (dom/classnames :active (= layout-item-v-sizing :fill)) :on-click #(on-change-behavior :v :fill)} @@ -207,7 +207,7 @@ :layout-item-v-sizing (or (:layout-item-v-sizing values) :fix) :layout-item-h-sizing (or (:layout-item-h-sizing values) :fix) :on-change-behavior on-change-behavior}]] - + (when is-layout-child? [:div.layout-row [:div.row-title "Align"]