Skip to content

Commit

Permalink
Fix footer bullets
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanrdodson committed Jan 31, 2024
1 parent be52a41 commit 255ddcc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -1060,11 +1060,11 @@ fieldset {
display: inline;
}
}
.m-footer-copyright span:nth-child(2) {
.m-footer-copyright span:nth-child(2n) {
display: none;
}
@media only screen and (min-width: 48rem) {
.m-footer-copyright span:nth-child(2) {
.m-footer-copyright span:nth-child(2n) {
display: inline;
}
}
Expand Down
4 changes: 3 additions & 1 deletion partials/footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ This footer template is shared across all the pages.
<span>{{t "As always, made with "}} <i class="fa-solid fa-heart"></i></span>
</p>
<p class="m-footer-copyright">
<span>Support Open Source<span>&nbsp; &bull; &nbsp;</span><a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a></span>
<span>Support Open Source</span>
<span>&nbsp; &bull; &nbsp;</span>
<span><a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a></span>
<span>&nbsp; &bull; &nbsp;</span>
<span>{{@site.title}} &copy; {{date format="YYYY"}}</span>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/sass/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
display: inline;
}

&:nth-child(2) {
&:nth-child(2n) {
display: none;

@include respond-to('medium') {
Expand Down

0 comments on commit 255ddcc

Please sign in to comment.