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:
Bernardo Cardoso
2024-12-02 19:12:16 +00:00
committed by GitHub
parent 60f9e16435
commit 4782a1a5ec

View File

@ -5,6 +5,14 @@
// -------------------------------------------------- // --------------------------------------------------
// Modifies display of a particular element based on the given classes // 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 { .ion-hide {
display: none !important; display: none !important;
} }