0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-02 04:19:08 -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 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 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 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 ### :arrow_up: Deps updates
- Update google fonts catalog (at 2023/07/06) [Taiga #5592](https://tree.taiga.io/project/penpot/issue/5592) - 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 { &:hover {
border: 1px solid $color-gray-20; 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 { .opened {
border: 1px solid $color-primary; border: 1px solid $color-primary;

View file

@ -152,7 +152,7 @@
[:div.element-set-content [:div.element-set-content
[:div.row-flex [:div.row-flex
[:& select [:& select
{:class "flex-grow" {:class "flex-grow no-check"
:default-value selected-blend-mode :default-value selected-blend-mode
:options options :options options
:on-change handle-change-blend-mode :on-change handle-change-blend-mode