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
793b83fd
Commit
793b83fd
authored
6 years ago
by
Vincent Langlet
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Avoid null value (#27570)
parent
38e9e2b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/mixins/_breakpoints.scss
+1
-1
scss/mixins/_breakpoints.scss
with
1 addition
and
1 deletion
+1
-1
scss/mixins/_breakpoints.scss
+
1
-
1
View file @
793b83fd
...
...
@@ -16,7 +16,7 @@
// md
@function
breakpoint-next
(
$name
,
$breakpoints
:
$grid-breakpoints
,
$breakpoint-names
:
map-keys
(
$breakpoints
))
{
$n
:
index
(
$breakpoint-names
,
$name
);
@return
if
(
$n
<
length
(
$breakpoint-names
)
,
nth
(
$breakpoint-names
,
$n
+
1
)
,
null
);
@return
if
(
$n
!=
null
and
$n
<
length
(
$breakpoint-names
)
,
nth
(
$breakpoint-names
,
$n
+
1
)
,
null
);
}
// Minimum breakpoint width. Null for the smallest (first) breakpoint.
...
...
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