🐛 Fix scroll on token themes modal (#6251)

* 🐛 Fix scroll on token themes modal

* 🐛 Fix collapse set group error
This commit is contained in:
Eva Marco 2025-04-10 10:25:08 +02:00 committed by GitHub
parent 89153eef23
commit e5db66351e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -5,6 +5,7 @@
### :bug: Bugs fixed ### :bug: Bugs fixed
- Increase the height of the right sidebar dropdowns [Taiga #10615](https://tree.taiga.io/project/penpot/issue/10615) - Increase the height of the right sidebar dropdowns [Taiga #10615](https://tree.taiga.io/project/penpot/issue/10615)
- Fix scroll on token themes modal [Taiga #10745](https://tree.taiga.io/project/penpot/issue/10745)
## 2.6.1 ## 2.6.1

View file

@ -190,6 +190,7 @@
border: $s-1 solid color-mix(in hsl, var(--color-foreground-secondary) 30%, transparent); border: $s-1 solid color-mix(in hsl, var(--color-foreground-secondary) 30%, transparent);
border-radius: $s-8; border-radius: $s-8;
overflow-y: auto; overflow-y: auto;
max-height: $s-452;
} }
.sets-count-empty-button { .sets-count-empty-button {

View file

@ -171,6 +171,7 @@
on-collapse-click on-collapse-click
(mf/use-fn (mf/use-fn
(fn [event] (fn [event]
(dom/prevent-default event)
(dom/stop-propagation event) (dom/stop-propagation event)
(on-toggle-collapse tree-path))) (on-toggle-collapse tree-path)))