0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Fix drop-down button spacing

This commit is contained in:
Florian Schroedl 2024-05-29 09:23:47 +02:00
parent 5c83247256
commit fb5f7e870a
2 changed files with 3 additions and 2 deletions

View file

@ -249,8 +249,8 @@
:type type})])
(when (seq options)
[:span {:class (stl/css :dropdown-button)
:on-click toggle-dropdown}
[:div {:class (stl/css :dropdown-button)
:on-click toggle-dropdown}
i/arrow])
(when (and is-open? (seq options))

View file

@ -30,6 +30,7 @@
.dropdown-button {
@include flexCenter;
margin-right: -$s-8;
padding-right: $s-8;
padding-left: 0;
aspect-ratio: 0.8 / 1;
width: auto;