mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 18:48:37 -05:00
🐛 Fix height 100% cropped
This commit is contained in:
parent
fc1f2b2a9f
commit
9a272f69c7
1 changed files with 4 additions and 4 deletions
|
@ -112,7 +112,7 @@
|
||||||
{:alt "Width 100%"
|
{:alt "Width 100%"
|
||||||
:class (dom/classnames :active (= layout-item-h-sizing :fill))
|
:class (dom/classnames :active (= layout-item-h-sizing :fill))
|
||||||
:on-click #(on-change-behavior :h :fill)}
|
:on-click #(on-change-behavior :h :fill)}
|
||||||
i/auto-fill])
|
i/auto-fill])
|
||||||
(when auto?
|
(when auto?
|
||||||
[:button.behavior-btn.tooltip.tooltip-bottom
|
[:button.behavior-btn.tooltip.tooltip-bottom
|
||||||
{:alt "Fit content"
|
{:alt "Fit content"
|
||||||
|
@ -125,9 +125,9 @@
|
||||||
{:alt "Fix height"
|
{:alt "Fix height"
|
||||||
:class (dom/classnames :active (= layout-item-v-sizing :fix))
|
:class (dom/classnames :active (= layout-item-v-sizing :fix))
|
||||||
:on-click #(on-change-behavior :v :fix)}
|
:on-click #(on-change-behavior :v :fix)}
|
||||||
i/auto-fix-layout]
|
i/auto-fix-layout]
|
||||||
(when fill?
|
(when fill?
|
||||||
[:button.behavior-btn.tooltip.tooltip-bottom
|
[:button.behavior-btn.tooltip.tooltip-bottom-left
|
||||||
{:alt "Height 100%"
|
{:alt "Height 100%"
|
||||||
:class (dom/classnames :active (= layout-item-v-sizing :fill))
|
:class (dom/classnames :active (= layout-item-v-sizing :fill))
|
||||||
:on-click #(on-change-behavior :v :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-v-sizing (or (:layout-item-v-sizing values) :fix)
|
||||||
:layout-item-h-sizing (or (:layout-item-h-sizing values) :fix)
|
:layout-item-h-sizing (or (:layout-item-h-sizing values) :fix)
|
||||||
:on-change-behavior on-change-behavior}]]
|
:on-change-behavior on-change-behavior}]]
|
||||||
|
|
||||||
(when is-layout-child?
|
(when is-layout-child?
|
||||||
[:div.layout-row
|
[:div.layout-row
|
||||||
[:div.row-title "Align"]
|
[:div.row-title "Align"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue