-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
The minified stylesheet ionic.bundle.css
has whitespace stripped in :not
selectors. This leads to existing selectors such as:
ion-modal .ion-page:not(ion-nav .ion-page) {
position: relative;
contain: layout style;
height: 100%;
}
to become:
ion-modal .ion-page:not(ion-nav.ion-page) {
position: relative;
contain: layout style;
height: 100%;
}
Expected Behavior
Whitespace should be preserved during the minification of the CSS bundle.
Steps to Reproduce
- Visit the minified CSS bundle: https://cdn.jsdelivr.net/npm/@ionic/core/css/ionic.bundle.css
- Search for the invalid output:
ion-modal .ion-page:not(ion-nav.ion-page)
- Observe: Selector is missing a space between
ion-nav
and.ion-page
(as seen in the source code)
Code Reproduction URL
N/A
Ionic Info
N/A
Additional Information
No response
indraraj26
Metadata
Metadata
Assignees
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report