Skip to content

Commit 4782a1a

Browse files
authored
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. -->
1 parent 60f9e16 commit 4782a1a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

core/src/css/display.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
// --------------------------------------------------
66
// Modifies display of a particular element based on the given classes
77

8+
.ion-display-flex {
9+
display: flex !important;
10+
}
11+
12+
.ion-display-contents {
13+
display: contents !important;
14+
}
15+
816
.ion-hide {
917
display: none !important;
1018
}

0 commit comments

Comments
 (0)