mirror of
https://github.com/penpot/penpot.git
synced 2026-03-12 21:36:39 +00:00
🐛 Fix alignment inside dropdown
This commit is contained in:
@@ -348,11 +348,23 @@
|
||||
cursor: pointer;
|
||||
font-size: $fs14;
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
padding: $size-2;
|
||||
|
||||
span {
|
||||
color: $color-gray-20;
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
align-items: center;
|
||||
&:not(:first-child) {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.check-icon {
|
||||
min-width: 25px;
|
||||
color: $color-gray-20;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&.dropdown-separator:not(:last-child) {
|
||||
@@ -375,11 +387,8 @@
|
||||
|
||||
& li.checked-element {
|
||||
padding-left: 0;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
|
||||
& span {
|
||||
margin: 0;
|
||||
color: $color-black;
|
||||
}
|
||||
|
||||
|
||||
@@ -172,5 +172,5 @@
|
||||
{:key (str (:id @state) "-" index)
|
||||
:class (when (= (str value) (-> @state :current-value)) "is-selected")
|
||||
:on-click (select-item value)}
|
||||
[:span.checked-element-value label]
|
||||
[:span.check-icon i/tick]])))]]]))
|
||||
[:span.check-icon i/tick]
|
||||
[:span.checked-element-value label]])))]]]))
|
||||
|
||||
Reference in New Issue
Block a user