Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_ohana
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_wcms_ohana
Commits
d3807d46
Commit
d3807d46
authored
2 years ago
by
Kevin Paxman
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5898: make fallback work with all section types and use new spacing methodology.
parent
71515a59
No related branches found
No related tags found
1 merge request
!70
ISTWCMS-5898: section-spacing-seperator and column-seperator css
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/patterns/03-layouts/layout/_layout.scss
+8
-9
8 additions, 9 deletions
src/patterns/03-layouts/layout/_layout.scss
with
8 additions
and
9 deletions
src/patterns/03-layouts/layout/_layout.scss
+
8
−
9
View file @
d3807d46
...
@@ -94,6 +94,14 @@
...
@@ -94,6 +94,14 @@
@media
(
min-width
:
$screen-xl
)
{
@media
(
min-width
:
$screen-xl
)
{
@include
uw-contained-width
(
var
(
--
layout-max-width
));
@include
uw-contained-width
(
var
(
--
layout-max-width
));
}
}
// Set default spacing to match old block spacing if no classes
&
:not
(
.uw-section-spacing--default
,
.uw-section-spacing--none
,
.uw-section-spacing--75
,
.uw-section-spacing--50
,
.uw-section-spacing--25
)
{
margin-bottom
:
var
(
--
section-margin
);
padding-bottom
:
var
(
--
section-margin
);
&
:last-of-type
{
margin-bottom
:
0
;
}
}
&
.card__media
{
&
.card__media
{
padding
:
0
var
(
--
size-2
);
padding
:
0
var
(
--
size-2
);
@media
(
min-width
:
$screen-xl
)
{
@media
(
min-width
:
$screen-xl
)
{
...
@@ -788,15 +796,6 @@
...
@@ -788,15 +796,6 @@
}
}
}
}
}
}
// Set default spacing to match old block margin if no classes
.layout.layout--uw-1-col
{
&
:not
(
.uw-section-spacing--default
,
.uw-section-spacing--none
,
.uw-section-spacing--75
,
.uw-section-spacing--50
,
.uw-section-spacing--25
)
{
margin-bottom
:
var
(
--
section-margin
);
&
:last-of-type
{
margin-bottom
:
0
;
}
}
}
.uw-section-has-full-width
.layout.layout--uw-1-col
{
.uw-section-has-full-width
.layout.layout--uw-1-col
{
overflow
:
hidden
;
overflow
:
hidden
;
...
...
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