Skip to content

Commit

Permalink
flexbox??
Browse files Browse the repository at this point in the history
  • Loading branch information
eli8527 committed Apr 5, 2020
1 parent 787cf19 commit 9044697
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ a:hover {
border-top: var(--border);
position: sticky;
bottom: 0;
}

.menu__footer__contents {
display: flex;
flex-direction: row;
flex-wrap: wrap;
Expand Down
12 changes: 7 additions & 5 deletions site/snippets/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@
</li>
<?php endforeach; ?>
</ul>
<ul class="menu__footer">
<?php foreach ($site->pages()->listed() as $additionalPage): ?>
<li class="menu__footer__item"><a href="<?= $additionalPage->url(); ?>"><?= $additionalPage->title(); ?></a></li>
<?php endforeach; ?>
</ul>
<div class="menu__footer">
<ul class="menu__footer__contents">
<?php foreach ($site->pages()->listed() as $additionalPage): ?>
<li class="menu__footer__item"><a href="<?= $additionalPage->url(); ?>"><?= $additionalPage->title(); ?></a></li>
<?php endforeach; ?>
</ul>
</div>
</div>

0 comments on commit 9044697

Please sign in to comment.