mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 22:22:13 +02:00
💄 Small visual fixes
This commit is contained in:
parent
76a2f9bc8c
commit
e9a42bbc69
12 changed files with 101 additions and 29 deletions
|
@ -366,7 +366,8 @@
|
|||
limit (mth/min 10 nitems)
|
||||
limit (mth/max 1 limit)
|
||||
|
||||
th-size (- (/ (- width (* (dec limit) 24)) limit) 12)]
|
||||
th-size (when width
|
||||
(- (/ (- width 32 (* (dec limit) 24)) limit) 12))]
|
||||
|
||||
(mf/with-effect
|
||||
[th-size]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue