mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
Fix drop-down button spacing
This commit is contained in:
@@ -249,8 +249,8 @@
|
|||||||
:type type})])
|
:type type})])
|
||||||
|
|
||||||
(when (seq options)
|
(when (seq options)
|
||||||
[:span {:class (stl/css :dropdown-button)
|
[:div {:class (stl/css :dropdown-button)
|
||||||
:on-click toggle-dropdown}
|
:on-click toggle-dropdown}
|
||||||
i/arrow])
|
i/arrow])
|
||||||
|
|
||||||
(when (and is-open? (seq options))
|
(when (and is-open? (seq options))
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
.dropdown-button {
|
.dropdown-button {
|
||||||
@include flexCenter;
|
@include flexCenter;
|
||||||
margin-right: -$s-8;
|
margin-right: -$s-8;
|
||||||
|
padding-right: $s-8;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
aspect-ratio: 0.8 / 1;
|
aspect-ratio: 0.8 / 1;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user