mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
🐛 Fix libraries are truncated on 'Libraries' page
This commit is contained in:
parent
3ea5b1a8de
commit
e61aaaecf3
1 changed files with 3 additions and 1 deletions
|
@ -38,7 +38,9 @@
|
|||
width (mf/use-state nil)
|
||||
rowref (mf/use-ref)
|
||||
|
||||
itemsize (if (>= @width 1030) 280 230)
|
||||
itemsize (if components-v2
|
||||
350
|
||||
(if (>= @width 1030) 280 230))
|
||||
ratio (if (some? @width) (/ @width itemsize) 0)
|
||||
nitems (mth/floor ratio)
|
||||
limit (min 10 nitems)
|
||||
|
|
Loading…
Reference in a new issue