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
c3572cec
Unverified
Commit
c3572cec
authored
4 years ago
by
k-utsumi
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Avoid duplication of container breakpoints (#30969)
parent
7c6a0db8
v4-dev-dropdown-hide-method
v4-dev
v4.6.2
v4.6.1
v4.6.0
v4.5.3
v4.5.2
v4.5.1
6 merge requests
!36532
My v4 dev
,
!34086
v4: Fix prevented show event disables modals with fade class from being displayed again
,
!33729
V4 dev
,
!33086
V4 dev
,
!31901
Add opacity utilities
,
!31513
Update icons.md
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_grid.scss
+1
-5
scss/_grid.scss
scss/mixins/_grid.scss
+0
-10
scss/mixins/_grid.scss
with
1 addition
and
15 deletions
+1
-15
scss/_grid.scss
+
1
-
5
View file @
c3572cec
...
...
@@ -4,11 +4,7 @@
@if
$enable-grid-classes
{
// Single container class with breakpoint max-widths
.container
{
@include
make-container
();
@include
make-container-max-widths
();
}
.container
,
//
100
%
wide
container
at
all
breakpoints
.container-fluid
{
@include
make-container
();
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_grid.scss
+
0
-
10
View file @
c3572cec
...
...
@@ -10,16 +10,6 @@
margin-left
:
auto
;
}
// For each breakpoint, define the maximum width of the container in a media query
@mixin
make-container-max-widths
(
$max-widths
:
$container-max-widths
,
$breakpoints
:
$grid-breakpoints
)
{
@each
$breakpoint
,
$container-max-width
in
$max-widths
{
@include
media-breakpoint-up
(
$breakpoint
,
$breakpoints
)
{
max-width
:
$container-max-width
;
}
}
}
@mixin
make-row
(
$gutter
:
$grid-gutter-width
)
{
display
:
flex
;
flex-wrap
:
wrap
;
...
...
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