css-gridish icon indicating copy to clipboard operation
css-gridish copied to clipboard

No legacy class for last breakpoint

Open j1mie opened this issue 6 years ago • 3 comments

Hi @seejamescode

Wondering why we don't create a class for the last breakpoint?

Thanks!

https://github.com/IBM/css-gridish/blob/c5f16a541df485fa833f8f50299bd6a3f290a142/src/scss/_mixins.scss#L43

j1mie avatar May 29 '18 14:05 j1mie

Last breakpoint is really the "max-width". With the IBM grid design specs, we weren’t really meaning for a design to rearrange content at that max-width. However, reconfiguring the config file to reflect this more would be a good v3 improvement.

seejamescode avatar May 29 '18 14:05 seejamescode

Ah, I get you.

I think clarification would help here - coming from other popular grid systems (where max-width and last breakpoint aren't always the same value) this could confuse people a little. Was looking at the carbon example and wondering why there were only classes for one breakpoint.

Thanks for the quick response.

j1mie avatar May 29 '18 14:05 j1mie

I don’t think the README documents classes for that last breakpoint, but adding a line about it here would be helpful.

seejamescode avatar May 29 '18 15:05 seejamescode