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:
Brandy Carney
2019-09-27 17:54:03 -04:00
parent 5f235307cd
commit e67f7e81f7
8 changed files with 52 additions and 242 deletions

View File

@ -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);
}
}