You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 18, 2024. It is now read-only.
There is a set of utility classnames that you can add to an element that just tells the element how many columns to span at a given breakpoint so you don't have to declare explicit grid positioning for the element (e.g. ibm-grid__col--lg--2).
The selectors for these use grid-column (e.g. grid-column: span 2;) which really means grid-column-start. It's more likely that someone using these classes to expect the spanning to begin at a starting column and span forward the given number of columns. Doing that would mean using grid-column-end instead of grid-column-start (or grid-column).
I suspect this is only an issue if anyone wants to set both grid-column-start and grid-column-end at the same time (perhaps even if not all the cells in a row do).
The text was updated successfully, but these errors were encountered:
I think this is the counterpoint that I am pondering: Those legacy classes are only meant to help people transition from flexbox and float grids they are already using. If we switch to grid-column-end, they can be smooshed instead of wrapping:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is a set of utility classnames that you can add to an element that just tells the element how many columns to span at a given breakpoint so you don't have to declare explicit grid positioning for the element (e.g.
ibm-grid__col--lg--2
).The selectors for these use
grid-column
(e.g.grid-column: span 2;
) which really meansgrid-column-start
. It's more likely that someone using these classes to expect the spanning to begin at a starting column and span forward the given number of columns. Doing that would mean usinggrid-column-end
instead ofgrid-column-start
(orgrid-column
).I suspect this is only an issue if anyone wants to set both
grid-column-start
andgrid-column-end
at the same time (perhaps even if not all the cells in a row do).The text was updated successfully, but these errors were encountered: