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:
parent
89fbe28ed1
commit
fc1f2b2a9f
1 changed files with 4 additions and 4 deletions
|
@ -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))}
|
||||
|
|
Loading…
Add table
Reference in a new issue