Skip to content

Commit

Permalink
same space before and after legal section in footer (fix #15659)
Browse files Browse the repository at this point in the history
  • Loading branch information
wen-2018 committed Dec 4, 2024
1 parent ba6c703 commit 884d981
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions media/css/m24/components/footer-refresh.scss
Original file line number Diff line number Diff line change
Expand Up @@ -396,12 +396,8 @@ $max-footer-content-width: $content-max;
// secondary nav
.moz24-footer-secondary {
position: relative;
margin-top: $grid-margin;
margin: $spacer-lg 0;
line-height: 1.5;

@media(min-width: $screen-md) {
padding-top: $grid-margin;
}
}

.moz24-footer-legal {
Expand All @@ -425,6 +421,10 @@ $max-footer-content-width: $content-max;
@include bidi(((margin-right, 10%, 0), (margin-left, 0, 10%)));
}

@media(min-width: $screen-lg) {
margin-bottom: 0;
}

a,
a:link,
a:visited {
Expand All @@ -434,6 +434,8 @@ $max-footer-content-width: $content-max;
}

.moz24-footer-terms {
margin-bottom: 0;

li {
font-family: $primary-font;
padding: 0 24px 0 0;
Expand All @@ -442,6 +444,10 @@ $max-footer-content-width: $content-max;
@media(min-width: $screen-md) {
display: inline;
}

&:last-of-type {
margin-bottom: 0;
}
}

a,
Expand Down

0 comments on commit 884d981

Please sign in to comment.