0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 17:18:21 -05:00

🐛 Fix some layout tooltips cropped

This commit is contained in:
Alejandro Alonso 2023-03-01 11:40:45 +01:00 committed by Alonso Torres
parent 89fbe28ed1
commit fc1f2b2a9f

View file

@ -159,8 +159,8 @@
(for [align [:space-between :space-around :space-evenly]]
[:button.align-content.tooltip
{:class (dom/classnames :active (= align-content align)
:tooltip-bottom-left (not= align :start)
:tooltip-bottom (= align :start))
:tooltip-bottom-left (not= align :space-between)
:tooltip-bottom (= align :space-between))
:alt (dm/str "Align content " (d/name align))
:on-click #(set-align-content align)
:key (dm/str "align-content" (d/name align))}
@ -183,8 +183,8 @@
(for [justify [:space-between :space-around :space-evenly]]
[:button.justify.tooltip
{:class (dom/classnames :active (= justify-content justify)
:tooltip-bottom-left (not= justify :space-around)
:tooltip-bottom (= justify :space-around))
:tooltip-bottom-left (not= justify :space-between)
:tooltip-bottom (= justify :space-between))
:alt (dm/str "Justify content " (d/name justify))
:on-click #(set-justify justify)
:key (dm/str "justify-content" (d/name justify))}