From 4782a1a5ec24f6e215bdb3024f8cbef334280b89 Mon Sep 17 00:00:00 2001 From: Bernardo Cardoso <32780808+BenOsodrac@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:12:16 +0000 Subject: [PATCH] feat(css): add new display classes (#30055) Issue number: internal --------- ## What is the new behavior? - Add new display-contents and display-flex classes. ## Does this introduce a breaking change? - [ ] Yes - [x] No --- core/src/css/display.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/src/css/display.scss b/core/src/css/display.scss index 8f4ed43eae..e91a5eac6b 100644 --- a/core/src/css/display.scss +++ b/core/src/css/display.scss @@ -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; }