mirror of
https://github.com/penpot/penpot.git
synced 2026-03-21 18:03:47 +00:00
🐛 Fix dropdown width
This commit is contained in:
@@ -316,6 +316,22 @@
|
||||
&:hover {
|
||||
border: 1px solid $color-gray-20;
|
||||
}
|
||||
|
||||
&.no-check {
|
||||
.custom-select-dropdown {
|
||||
width: 100%;
|
||||
min-width: unset;
|
||||
.check-icon {
|
||||
display: none;
|
||||
}
|
||||
li.checked-element {
|
||||
padding-left: 0.5rem;
|
||||
&.is-selected {
|
||||
background-color: $color-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.opened {
|
||||
border: 1px solid $color-primary;
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
[:div.element-set-content
|
||||
[:div.row-flex
|
||||
[:& select
|
||||
{:class "flex-grow"
|
||||
{:class "flex-grow no-check"
|
||||
:default-value selected-blend-mode
|
||||
:options options
|
||||
:on-change handle-change-blend-mode
|
||||
|
||||
Reference in New Issue
Block a user