Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bs_base
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
bs_base
Commits
677a3e8f
Commit
677a3e8f
authored
5 months ago
by
Ivica Puljic
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3443684
by pivica: Introduce vertical grid gutter
parent
fd486858
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sass/variables/_bs_base.scss
+3
-2
3 additions, 2 deletions
sass/variables/_bs_base.scss
themes/bs_bootstrap/sass/layout/partials/_views.scss
+5
-5
5 additions, 5 deletions
themes/bs_bootstrap/sass/layout/partials/_views.scss
with
8 additions
and
7 deletions
sass/variables/_bs_base.scss
+
3
−
2
View file @
677a3e8f
...
...
@@ -118,8 +118,9 @@ $content-spacer: $spacer !default;
// General vertical container gap.
$container-spacer-y
:
2
*
$spacer-y
!
default
;
$grid-columns
:
12
!
default
;
$grid-gutter-width
:
30px
!
default
;
$grid-columns
:
12
!
default
;
$grid-gutter-width
:
30px
!
default
;
$grid-gutter-width-y
:
$grid-gutter-width
!
default
;
$page-content-columns
:
9
!
default
;
$page-content-sidebar-columns
:
3
!
default
;
...
...
This diff is collapsed.
Click to expand it.
themes/bs_bootstrap/sass/layout/partials/_views.scss
+
5
−
5
View file @
677a3e8f
...
...
@@ -2,18 +2,18 @@
&
__pager
{
// Make distance between views content and pager.
// @todo - should we use responsive gutter here, like for horizontal gutter?
margin-top
:
$grid-gutter-width
;
margin-top
:
$grid-gutter-width
-y
;
}
// Unformatted views item class.
&
__item
:not
(
:last-child
)
{
// @todo - should we use responsive gutter here, like for horizontal gutter?
margin-bottom
:
$grid-gutter-width
;
margin-bottom
:
$grid-gutter-width
-y
;
}
// Spacing between views content and RSS feed.
&
__feed
{
margin-top
:
$grid-gutter-width
;
margin-top
:
$grid-gutter-width
-y
;
}
&
__pager
{
...
...
@@ -31,14 +31,14 @@
// Reset bottom margin that is coming from views-col elements for the last
// views-row.
&
:last-child
{
margin-bottom
:
-
$grid-gutter-width
;
margin-bottom
:
-
$grid-gutter-width
-y
;
}
}
.views-col
{
@include
make-col-ready
();
// @todo - should we use responsive gutter here, like for horizontal gutter?
margin-bottom
:
$grid-gutter-width
;
margin-bottom
:
$grid-gutter-width
-y
;
// Expand child item to full height.
display
:
flex
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment