-
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
Milestone
Description
Bug Report
Ionic version:
[x] 4.x
Current behavior:
Responsive Display Attributes isn’t working as documented:
.ion-hide-sm-{dir} | Applies the modifier to the element when min-width: 576px (up) or max-width: 576px (down).
Currently, .ion-hide-sm-down hides element on md or less (max-width 767px)
Expected behavior:
is expected to hide the element on a xs breakpoint or smaller (max-width: 576px).
Related code:
https://github.com/ionic-team/ionic/blob/78e477b2a7360537f5aeeca48f14cbf6c55f0a11/core/src/css/display.scss#L24
produces this faulty css:
@media (max-width: 767px) {
.ion-hide-sm-down {
display: none !important;
}
}
TakkuzOld
Metadata
Metadata
Assignees
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report