We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3842d64 commit e1a0648Copy full SHA for e1a0648
core/src/components/col/col.scss
@@ -26,6 +26,8 @@
26
width: 100%;
27
max-width: 100%;
28
min-height: 1px; // Prevent columns from collapsing when empty
29
+
30
+ --col-unit-size: calc((100% - (var(--ion-grid-columns, 12) - 1) * var(--ion-grid-gap)) / var(--ion-grid-columns, 12));
31
}
32
33
:host(.ion-grid-col-auto){
core/src/components/row/row.scss
@@ -3,11 +3,11 @@
3
// Row
4
// --------------------------------------------------
5
:host {
6
- --ion-col-gap: 0px;
+ --ion-grid-gap: 0px;
7
8
display: flex;
9
10
flex-wrap: wrap;
11
12
- gap: var(--ion-col-gap, 0px);
+ gap: var(--ion-grid-gap, 0px);
13
0 commit comments