🐛 Fix margin input order is inconsistent with padding input order (#10797)

This commit is contained in:
Luis de Dios 2026-07-27 10:52:14 +02:00 committed by GitHub
parent af51c897a8
commit 5ce206f904
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 9 deletions

View File

@ -234,10 +234,10 @@
(mf/use-fn (mf/deps on-focus) #(on-focus :m2))
on-focus-m3
(mf/use-fn (mf/deps on-focus) #(on-focus :m1))
(mf/use-fn (mf/deps on-focus) #(on-focus :m3))
on-focus-m4
(mf/use-fn (mf/deps on-focus) #(on-focus :m2))
(mf/use-fn (mf/deps on-focus) #(on-focus :m4))
on-change'
(mf/use-fn
@ -329,7 +329,6 @@
:class (stl/css :bottom-margin-wrapper)
:attr :m3
:default nil
:align :right
:input-type :vertical-margin
:property "Bottom margin"
:nillable true
@ -359,6 +358,7 @@
:class (stl/css :left-margin-wrapper)
:default nil
:attr :m4
:align :right
:property "Left margin"
:input-type :horizontal-margin
:nillable true

View File

@ -140,20 +140,20 @@
grid-row: 1;
}
.bottom-margin,
.bottom-margin-wrapper {
.right-margin,
.right-margin-wrapper {
grid-column: 2;
grid-row: 1;
}
.left-margin,
.left-margin-wrapper {
.bottom-margin,
.bottom-margin-wrapper {
grid-column: 1;
grid-row: 2;
}
.right-margin,
.right-margin-wrapper {
.left-margin,
.left-margin-wrapper {
grid-column: 2;
grid-row: 2;
}