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

View File

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