🐛 Fix percent calculation on grid layout tracks

This commit is contained in:
alonso.torres 2024-10-14 10:07:07 +02:00
parent 3a9119cf29
commit a25abd0ca4
3 changed files with 3 additions and 1 deletions

View file

@ -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))

View file

@ -150,6 +150,7 @@
.grid-layout-menu {
@include flexColumn;
gap: $s-8;
overflow: hidden;
.row {
@include flexRow;