mirror of
https://github.com/penpot/penpot.git
synced 2025-06-30 03:07:01 +02:00
🐛 Fix dropdown width
This commit is contained in:
parent
9048c01308
commit
653bc66b8f
3 changed files with 18 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue