Skip to content

Commit

Permalink
Footer widget alignment. Closes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerfinnell committed Apr 5, 2018
1 parent af21c52 commit 03ec0bd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
16 changes: 12 additions & 4 deletions resources/assets/scss/modules/footer-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,23 @@

.footer-nav__col {

@include make-col-ready();
@include col();

flex: 1 0 auto;
width: auto;
max-width: none;
flex-grow: 1;
flex-basis: 100%;

@include media-breakpoint-up(sm) {
flex-basis: 50%;
}

@include media-breakpoint-up(md) {
flex-basis: 0;
}
}

.footer-widget {
border: 0;
padding-bottom: 0;

a {
color: gray("600");
Expand Down
1 change: 0 additions & 1 deletion resources/assets/scss/modules/widget.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
}

&:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/footer-nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<div class="footer-nav">
<div class="container">
<div class="footer-nav__row">
<div class="footer-nav__row footer-nav__columns-<?php echo esc_attr( $count ); ?>">

<?php echo $widgets; // WPCS: XSS okay; ?>

Expand Down

0 comments on commit 03ec0bd

Please sign in to comment.