-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(content-item): set 100% height - FRONT-4627 #3654
Conversation
Not really convinced by this. as i wasn't in the past regarding the card, this doesn't ensure "same height" for the items unless their parent items are equally tall. Basically i see this as a side effect of our grid system, using 100% on an item as the single child of a column wrapper makes it "align" since the two columns wrappers are inside the same row. But regarding this, in relation to the page example, it seems overwhelming to define a markup where each item needs a column wrapper on its own, we should have an easier way to place items in a flex container having the chance to define their width so that it can be used to generate a multiple column layout. This container will use align-items: stretch and items would be equally tall. To me this has more drawbacks and potential downsides when used in a different layout than the one where it might improve the current situation and we could identify, even with just the utilities (we miss some..), a way ot define "layouts" not using a complex grid markup and with "equally tall" items |
It is true that with the current implementations in ewpp with these styles we would fix a relevant number of their layout with items, but still it feels wrong to me to use something like this to achieve a result that might be better handled in a different way, most likely. An idea could be to set this only for desktop? Does this have an intended role also in mobile? |
The change is no longer applied on mobile |
Make content item take 100% height (similar to cards)