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 5, 2024
1 parent a617896 commit aa6e304
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 @@ -350,12 +350,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 #{$mq-md} {
padding-top: $grid-margin;
}
}

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

@media #{$mq-lg} {
margin-bottom: 0;
}

a {
display: inline-block;
}
Expand All @@ -392,6 +392,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 @@ -400,6 +402,10 @@ $max-footer-content-width: $content-max;
@media #{$mq-md} {
display: inline-block;
}

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

a,
Expand Down

0 comments on commit aa6e304

Please sign in to comment.