mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 22:53:02 +00:00
🐛 Fix libraries are truncated on 'Libraries' page
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user