mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -05:00
🐛 Scroll in pages list when more than 4 elements
This commit is contained in:
parent
4e7a3c09a6
commit
55a7a34a1d
2 changed files with 5 additions and 1 deletions
|
@ -211,3 +211,7 @@ $width-settings-bar: 16rem;
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.element-list.pages-list {
|
||||
max-height: 10rem;
|
||||
}
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
(let [pages (:pages file)
|
||||
deletable? (> (count pages) 1)
|
||||
current-page-id (mf/use-ctx ctx/current-page-id)]
|
||||
[:ul.element-list
|
||||
[:ul.element-list.pages-list
|
||||
[:& hooks/sortable-container {}
|
||||
(for [[index page-id] (d/enumerate pages)]
|
||||
[:& page-item-wrapper
|
||||
|
|
Loading…
Add table
Reference in a new issue