File tree Expand file tree Collapse file tree 3 files changed +9
-23
lines changed Expand file tree Collapse file tree 3 files changed +9
-23
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ See [API](#api) for all available options.
61
61
62
62
## Columns
63
63
64
- Unless the defaults are modified, stack is the default outcome of Grid. Use the
65
- ` columns ` option to organize your items into grid.
64
+ Stack is the default outcome of Grid. Use the ` columns ` option to organize your
65
+ items into grid.
66
66
67
67
<Playground >
68
68
<Grid columns = " 1fr 1fr 1fr" >
@@ -270,15 +270,8 @@ Wrapper for content that should span multiple rows or columns.
270
270
271
271
| Custom Property | Description |
272
272
| ------------------------------------------------------| --------------------------------------------------------------|
273
- | ` --rui-Grid__columns ` | Default columns layout |
274
273
| ` --rui-Grid__column-gap ` | Default column gap |
275
- | ` --rui-Grid__rows ` | Default rows layout |
276
274
| ` --rui-Grid__row-gap ` | Default row gap |
277
- | ` --rui-Grid__align-content ` | Default vertical alignment of the layout |
278
- | ` --rui-Grid__align-items ` | Default vertical alignment of grid items |
279
- | ` --rui-Grid__justify-content ` | Default horizontal alignment of the layout |
280
- | ` --rui-Grid__justify-items ` | Default horizontal alignment of grid items |
281
- | ` --rui-Grid__auto-flow ` | Default auto-flow algorithm |
282
275
283
276
[ grid-layout ] : https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout
284
277
[ grid-template-columns ] : https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
Original file line number Diff line number Diff line change 1
1
$responsive-properties : (
2
- columns : var ( --rui-Grid__columns ) ,
2
+ columns : 1 fr ,
3
3
column-gap : var (--rui-Grid__column-gap ),
4
- rows : var ( --rui-Grid__rows ) ,
4
+ rows : auto ,
5
5
row-gap : var (--rui-Grid__row-gap ),
6
- auto-flow : var ( --rui-Grid__auto-flow ) ,
7
- align-content : var ( --rui-Grid__align-content ) ,
8
- align-items : var ( --rui-Grid__align-items ) ,
9
- justify-content : var ( --rui-Grid__justify-content ) ,
10
- justify-items : var ( --rui-Grid__justify-items ) ,
6
+ auto-flow : initial ,
7
+ align-content : initial ,
8
+ align-items : initial ,
9
+ justify-content : initial ,
10
+ justify-items : initial ,
11
11
);
Original file line number Diff line number Diff line change 200
200
// Grid
201
201
// ====
202
202
203
- --rui-Grid__columns : 1fr ;
204
203
--rui-Grid__column-gap : var (--rui-spacing-4 );
205
- --rui-Grid__rows : auto ;
206
204
--rui-Grid__row-gap : var (--rui-spacing-4 );
207
- --rui-Grid__auto-flow : initial ;
208
- --rui-Grid__align-content : initial ;
209
- --rui-Grid__align-items : initial ;
210
- --rui-Grid__justify-content : initial ;
211
- --rui-Grid__justify-items : initial ;
212
205
213
206
//
214
207
// Toolbar
You can’t perform that action at this time.
0 commit comments