mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
Fix drop-down button spacing
This commit is contained in:
parent
5c83247256
commit
fb5f7e870a
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue