0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 22:49:01 -05:00

🐛 Fix dropdown width

This commit is contained in:
Eva 2023-07-25 12:35:24 +02:00
parent 9048c01308
commit 653bc66b8f
3 changed files with 18 additions and 2 deletions

View file

@ -91,7 +91,7 @@
- Fix error when a user different than the thread creator edits a comment [Taiga #5647](https://tree.taiga.io/project/penpot/issue/5647)
- Fix unnecessary button [Taiga #3312](https://tree.taiga.io/project/penpot/issue/3312)
- Fix copy color information in several formats [Taiga #4723](https://tree.taiga.io/project/penpot/issue/4723)
- Fix dropdown width [Taiga #5541](https://tree.taiga.io/project/penpot/issue/5541)
### :arrow_up: Deps updates
- Update google fonts catalog (at 2023/07/06) [Taiga #5592](https://tree.taiga.io/project/penpot/issue/5592)

View file

@ -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;

View file

@ -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