Skip to content

Commit 8909df2

Browse files
committed
Improving comment and running lint
1 parent 98e977c commit 8909df2

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

core/src/components/col/col.scss

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,13 @@
5555
@include margin-horizontal(var(--margin-calc), 0);
5656
}
5757

58-
// Although the number of columns is customizable, we generate
59-
// a default of 12 columns worth of classes. This will in the
60-
// future be customizable, even on the generation, when the
61-
// Ionic becomes modular and configurable by the developer.
62-
// For now, this is a reasonable default. If the developer
63-
// changes the number of columns, they can still use the
64-
// col-span and offset classes that are generated here, and
65-
// if more than 12 columns are needed, they can always
66-
// write their own CSS to handle those cases, since we cover
67-
// the general case here.
58+
/*
59+
* While the number of columns can be customized, we generate
60+
* a default set of classes for 12 columns. In the future, this
61+
* will be configurable at build time as Ionic becomes more modular.
62+
* For now, 12 columns is a practical default. Developers who need
63+
* more columns can override or extend these styles as needed.
64+
*/
6865
$grid-col-number: 12;
6966

7067
@for $i from 1 through $grid-col-number {

0 commit comments

Comments
 (0)