-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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(css): add CSS display utilities #17359
Conversation
Thanks for the PR! @manucorporat Are you good with the naming of this file? It will be an optional file to include for display properties, like the float ones: https://github.com/ionic-team/ionic/blob/master/core/src/css/float-elements.scss |
This looks great by the way! I don't think we should add the My only concern is if we need to add classes like the others do:
so it would be like:
I know this was added in other places because of react and type errors with JSX. cc @manucorporat @jthoms1 |
That's fair! I figured I would mention it and leave the choice of inclusion up to the team. Let me know of any changes that need to be made! |
@seiyria Will do! Thanks again. 🙂 |
Okay I finally got some answers for you! So we've decided that we're going to change the following few things:
Let me know what you think! |
This seems reasonable! I'll see if I can get some adjustments made today. |
Very nice, thank you! So I plan on getting this in to the |
Fantastic! Thank you! I've also updated the docs PR to reflect these changes. |
@liamdebeasi Could you add your review here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for submitting 🎉
Yay, merged! Thanks! |
Thank you! 🎉 |
Short description of what this resolves:
It adds features described in #10904 to have responsive visibility.
Changes proposed in this pull request:
.ion-hide
selector to hide content.ion-hide-{breakpoint}-{up|down}]
to selectively hide contentThis could probably be further enhanced with
.ion-hide-{breakpoint}-only
and.ion-show-{breakpoint}-only
. Not sure how far to take this particular PR.Docs PR
ionic-team/ionic-docs#403
Ionic Version:
4.0.0
Fixes: #10904