mirror of
https://github.com/penpot/penpot.git
synced 2025-05-16 04:16:12 +02:00
🐛 Fix percent calculation on grid layout tracks
This commit is contained in:
parent
3a9119cf29
commit
a25abd0ca4
3 changed files with 3 additions and 1 deletions
|
@ -677,7 +677,7 @@
|
|||
[{:keys [type value]}]
|
||||
(case type
|
||||
:auto "auto"
|
||||
:percent (fmt/format-percent value)
|
||||
:percent (fmt/format-percent (/ value 100))
|
||||
:flex (fmt/format-frs value)
|
||||
:fixed (fmt/format-pixels value)
|
||||
value))
|
||||
|
|
|
@ -150,6 +150,7 @@
|
|||
.grid-layout-menu {
|
||||
@include flexColumn;
|
||||
gap: $s-8;
|
||||
overflow: hidden;
|
||||
|
||||
.row {
|
||||
@include flexRow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue