Skip to content

Commit

Permalink
Merge pull request #221 from localgovdrupal/feature/2.x/responsive-fo…
Browse files Browse the repository at this point in the history
…oter/220

adds a media query to make the footer columns responsive
  • Loading branch information
markconroy committed Jul 10, 2023
2 parents 86a1cdc + 6b9f834 commit b32a6b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions css/components/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@
color: var(--footer-text-color);
}

.microsite-footer .lgd-row__one-quarter,
.microsite-footer .lgd-row--quarters > * {
width: calc(25% - var(--footer-grid-column-spacing));
@media screen and (min-width: 768px) {
.microsite-footer .lgd-row__one-quarter,
.microsite-footer .lgd-row--quarters > * {
width: calc(25% - var(--footer-grid-column-spacing));
}
}

.microsite-footer .lgd-row > * {
Expand Down

0 comments on commit b32a6b2

Please sign in to comment.