mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 14:19:17 +08:00
feat(css): add new display classes (#30055)
Issue number: internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Add new display-contents and display-flex classes. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. -->
This commit is contained in:
@ -5,6 +5,14 @@
|
||||
// --------------------------------------------------
|
||||
// Modifies display of a particular element based on the given classes
|
||||
|
||||
.ion-display-flex {
|
||||
display: flex !important;
|
||||
}
|
||||
|
||||
.ion-display-contents {
|
||||
display: contents !important;
|
||||
}
|
||||
|
||||
.ion-hide {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user