File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ Add `--` prefix to use a CSS variable as an argument. The engine will pass it as
146
146
| Rule | Arguments | Defaults | Properties |
147
147
| ----------| ---------------| ----------| -----------------------------------------------|
148
148
| block | [ align: value ] | block | ` display: block ` <br >` text-align: [align] ` |
149
- | inline | | --- | ` display: inline ` <br >` display: [type]-inline ` |
150
- | contents | | --- | ` display: contents ` |
149
+ | inline | --- | --- | ` display: inline ` <br >` display: [type]-inline ` |
150
+ | contents | --- | --- | ` display: contents ` |
151
151
| hidden | --- | --- | ` display: none ` |
152
152
153
153
The ` inline ` rule can be used after other display types to make the element inline with corresponding type:
@@ -208,8 +208,8 @@ Use following examples as a reference:
208
208
| width | [ base: dim .] :[ min: dim .] :[ max: dim .] | --- | ` width: [base] ` <br >` min-width: [min] ` <br >` max-width: [max] ` |
209
209
| height | [ base: dim .] :[ min: dim .] :[ max: dim .] | --- | ` height: [base] ` <br >` min-height: [min] ` <br >` max-height: [max] ` |
210
210
| ratio | [ value] | --- | ` aspect-ratio: [value] ` |
211
- | overflow | [ type: value ] <br >[ axis: value ] :[ type: value ] | overflow: hidden | ` overflow: [type] ` <br >` overflow-[axis]: [type] ` <br >For ` scroll ` type :<br >` flex-basis: 0 ` <br >` overscroll-behavior: contain ` <br >` --webkit-overflow-scrolling: touch ` |
212
- | margin | [ v1: dim .] :[ v2: dim .] :[ v3: dim .] :[ v4: dim .] <br >[ side: value ] :[ v1: dimension ] | margin:1<br >margin:[ side] :1 | ` margin: [v1] [v2] [v3] [v4] ` <br >` margin-[side]: [v1] ` | |
211
+ | overflow | [ type: value ] <br >[ axis: value ] :[ type: value ] | overflow: hidden | ` overflow: [type] ` <br >` overflow-[axis]: [type] ` <br >When ` scroll ` also :<br >` flex: 1 1 0 ` <br >` overscroll-behavior: contain ` <br >` --webkit-overflow-scrolling: touch ` |
212
+ | margin | [ v1: dim .] :[ v2: dim .] :[ v3: dim .] :[ v4: dim .] <br >[ side: value ] :[ v1: dimension ] | margin:1<br >margin:[ side] :1 | ` margin: [v1] [v2] [v3] [v4] ` <br >` margin-[side] ` |
213
213
214
214
### Position
215
215
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ const rules = {
88
88
[ `overflow${ type } ` ] : value ,
89
89
...( value === "scroll"
90
90
? {
91
+ "flex-grow" : props [ "flex-grow" ] || 1 ,
91
92
"flex-basis" : 0 ,
92
93
"overscroll-behavior" : "contain" ,
93
94
"--webkit-overflow-scrolling" : "touch" ,
You can’t perform that action at this time.
0 commit comments