Skip to content

Commit

Permalink
make footer readable and functional for IE 11 (fix #15536) (#15827)
Browse files Browse the repository at this point in the history
* make footer readable and functional for IE 11 (fix #15536)

* add comment to clarify hard-coded value
  • Loading branch information
wen-2018 authored Jan 9, 2025
1 parent 1eb382d commit 4be9180
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions media/css/m24/components/footer-refresh.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $max-footer-content-width: $content-max;

// primary nav
.moz24-footer-primary {
margin-bottom: $spacer-lg;
margin: 32px 0;
}

.moz24-footer-sections-wrapper {
Expand Down Expand Up @@ -76,7 +76,7 @@ $max-footer-content-width: $content-max;
.moz24-footer-refresh-social-wrapper {
display: flex;
align-items: center;
margin-bottom: $spacer-lg;
margin-bottom: 32px;

@media #{$mq-md} {
flex-direction: column;
Expand Down Expand Up @@ -106,6 +106,7 @@ $max-footer-content-width: $content-max;
.moz24-footer-links-social {
margin: 0 0 0 $spacer-lg;
display: flex;
background-color: #161616; // hard-coded value as a fallback for readability on older browsers

@media #{$mq-md} {
margin: 0;
Expand Down Expand Up @@ -173,6 +174,7 @@ $max-footer-content-width: $content-max;
font-size: $text-body-sm;
font-family: $primary-font;
font-weight: 600;
@include bidi(((margin-right, 8px, 0), (margin-left, 0, 8px)));
}

.moz24-footer-primary-list {
Expand Down

0 comments on commit 4be9180

Please sign in to comment.