Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
056e28d9
Commit
056e28d9
authored
6 years ago
by
Alexander Rechsteiner
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Suppress text-hide deprecation warning (#26242)
parent
555333a2
3 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!26470
Active class
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/mixins/_text-hide.scss
+4
-2
scss/mixins/_text-hide.scss
scss/utilities/_text.scss
+1
-1
scss/utilities/_text.scss
with
5 additions
and
3 deletions
+5
-3
scss/mixins/_text-hide.scss
+
4
-
2
View file @
056e28d9
// CSS image replacement
// CSS image replacement
@mixin
text-hide
()
{
@mixin
text-hide
(
$ignore-warning
:
false
)
{
// stylelint-disable-next-line font-family-no-missing-generic-family-keyword
// stylelint-disable-next-line font-family-no-missing-generic-family-keyword
font
:
0
/
0
a
;
font
:
0
/
0
a
;
color
:
transparent
;
color
:
transparent
;
...
@@ -7,5 +7,7 @@
...
@@ -7,5 +7,7 @@
background-color
:
transparent
;
background-color
:
transparent
;
border
:
0
;
border
:
0
;
@warn
"The `text-hide()` mixin has been deprecated as of v4.1.0. It will be removed entirely in v5."
;
@if
(
$ignore-warning
!=
true
)
{
@warn
"The `text-hide()` mixin has been deprecated as of v4.1.0. It will be removed entirely in v5."
;
}
}
}
This diff is collapsed.
Click to expand it.
scss/utilities/_text.scss
+
1
-
1
View file @
056e28d9
...
@@ -54,5 +54,5 @@
...
@@ -54,5 +54,5 @@
// Misc
// Misc
.text-hide
{
.text-hide
{
@include
text-hide
();
@include
text-hide
(
$ignore-warning
:
true
);
}
}
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
Menu
Explore
Projects
Groups
Snippets