Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
6466a046
Commit
6466a046
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Deprecate float mixins (#28104)
parent
2749bf34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/mixins/_float.scss
+3
-0
scss/mixins/_float.scss
scss/utilities/_float.scss
+5
-3
scss/utilities/_float.scss
with
8 additions
and
3 deletions
+8
-3
scss/mixins/_float.scss
+
3
-
0
View file @
6466a046
...
@@ -2,10 +2,13 @@
...
@@ -2,10 +2,13 @@
@mixin
float-left
{
@mixin
float-left
{
float
:
left
!
important
;
float
:
left
!
important
;
@include
deprecate
(
"The `float-left` mixin"
,
"v4.3.0"
,
"v5"
);
}
}
@mixin
float-right
{
@mixin
float-right
{
float
:
right
!
important
;
float
:
right
!
important
;
@include
deprecate
(
"The `float-right` mixin"
,
"v4.3.0"
,
"v5"
);
}
}
@mixin
float-none
{
@mixin
float-none
{
float
:
none
!
important
;
float
:
none
!
important
;
@include
deprecate
(
"The `float-none` mixin"
,
"v4.3.0"
,
"v5"
);
}
}
This diff is collapsed.
Click to expand it.
scss/utilities/_float.scss
+
5
-
3
View file @
6466a046
// stylelint-disable declaration-no-important
@each
$breakpoint
in
map-keys
(
$grid-breakpoints
)
{
@each
$breakpoint
in
map-keys
(
$grid-breakpoints
)
{
@include
media-breakpoint-up
(
$breakpoint
)
{
@include
media-breakpoint-up
(
$breakpoint
)
{
$infix
:
breakpoint-infix
(
$breakpoint
,
$grid-breakpoints
);
$infix
:
breakpoint-infix
(
$breakpoint
,
$grid-breakpoints
);
.float
#{
$infix
}
-left
{
@include
float
-
left
;
}
.float
#{
$infix
}
-left
{
float
:
left
!
important
;
}
.float
#{
$infix
}
-right
{
@include
float
-
right
;
}
.float
#{
$infix
}
-right
{
float
:
right
!
important
;
}
.float
#{
$infix
}
-none
{
@include
float
-
none
;
}
.float
#{
$infix
}
-none
{
float
:
none
!
important
;
}
}
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment