You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/flow/layout.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,10 +101,14 @@ Produces:
101
101
102
102
To control the layout further, you can use the following properties on individual items:
103
103
104
-
-**`padding`**: number (Specifies padding on the element itself on main axis. Only in current flex engine.)
105
-
106
-
-**`padding`**: number | [number, number, number, number] (Specifies padding on the element itself. Using an array aligns with the CSS `[Top, Right, Bottom, Left]` specification.) Only in new flex engine.
107
-
-**`margin`**: [number, number, number, number] (Specifies margins on the element using the `[Top, Right, Bottom, Left]` CSS array syntax.) Only in new flex engine.
104
+
-**`padding`**: number (Specifies padding on the element itself on main axis. Only in legacy flex engine.)
105
+
106
+
-**`padding`**: number | [number, number, number, number] (Specifies padding on the element itself. Using an array aligns with the CSS `[Top, Right, Bottom, Left]` specification. Available in the new flex engine.)
107
+
-**`paddingTop`**: number (Overrides the top value of the padding array. Available in the new flex engine.)
108
+
-**`paddingRight`**: number (Overrides the right value of the padding array. Available in the new flex engine.)
109
+
-**`paddingBottom`**: number (Overrides the bottom value of the padding array. Available in the new flex engine.)
110
+
-**`paddingLeft`**: number (Overrides the left value of the padding array. Available in the new flex engine.)
111
+
-**`margin`**: [number, number, number, number] (Specifies margins on the element using the `[Top, Right, Bottom, Left]` CSS array syntax. Available in the new flex engine.)
0 commit comments