Skip to content

Commit 3649dec

Browse files
committed
Adding max-width to the columns
1 parent d47c1bd commit 3649dec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/components/col/col.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
:host([class*=" ion-grid-col--"]) {
4141
flex: 0 0
4242
calc(var(--ion-grid-col-span) * var(--col-unit-size) + (var(--ion-grid-col-span) - 1) * var(--ion-grid-gap, 0px));
43+
max-width: calc(var(--ion-grid-col-span) * var(--col-unit-size) + (var(--ion-grid-col-span) - 1) * var(--ion-grid-gap, 0px))
4344
}
4445

4546
:host([class^="ion-grid-offset-col--"]),

0 commit comments

Comments
 (0)