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/src/pages/system/sizing/sizing.md
+29-12
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,21 @@
4
4
5
5
## Supported values
6
6
7
-
The sizing style functions support different property input types:
7
+
The sizing properties: `width`, `height`, `minHeight`, `maxHeight`, `minWidth`, and `maxWidth` are using the following custom transform function for the value:
8
+
9
+
```js
10
+
functiontransform(value) {
11
+
return value <=1?`${value *100}%`: value;
12
+
}
13
+
```
14
+
15
+
If the value is between [0, 1], it's converted to percent.
16
+
Otherwise, it is directly set on the CSS property.
0 commit comments