mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
refactor(css): remove CSS util attributes (#18956)
BREAKING CHANGES Removes all CSS utility attributes. Please use CSS classes instead. See the documentation for the correct class names: https://ionicframework.com/docs/layout/css-utilities
This commit is contained in:
@ -12,23 +12,19 @@
|
||||
@include media-breakpoint-up($breakpoint, $screen-breakpoints) {
|
||||
// Provide `.ion-float-{bp}-{side}` classes for floating the element based
|
||||
// on the breakpoint and side
|
||||
.ion-float#{$infix}-left,
|
||||
[float#{$infix}-left] {
|
||||
.ion-float#{$infix}-left {
|
||||
@include float(left, !important);
|
||||
}
|
||||
|
||||
.ion-float#{$infix}-right,
|
||||
[float#{$infix}-right] {
|
||||
.ion-float#{$infix}-right {
|
||||
@include float(right, !important);
|
||||
}
|
||||
|
||||
.ion-float#{$infix}-start,
|
||||
[float#{$infix}-start] {
|
||||
.ion-float#{$infix}-start {
|
||||
@include float(start, !important);
|
||||
}
|
||||
|
||||
.ion-float#{$infix}-end,
|
||||
[float#{$infix}-end] {
|
||||
.ion-float#{$infix}-end {
|
||||
@include float(end, !important);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user