Skip to content

Commit

Permalink
Merge pull request #2152
Browse files Browse the repository at this point in the history
fix button in 404 page too close to bottom in small screens
  • Loading branch information
luigi1111 authored Aug 17, 2023
2 parents 146d906 + e3dcd20 commit bba64a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<div class="nopage">
<h1 id="fourofour">404</h1>
<h1>{% t error.title %}</h1>
<p><a href="{{ site.baseurl }}/index.html" class="btn-link btn-fixed">{% t error.button %}</a></p>
<p><a href="{{ site.baseurl }}/index.html" class="btn-link btn-fixed" id="btn-404">{% t error.button %}</a></p>
</div>
</section>
4 changes: 4 additions & 0 deletions css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -1851,6 +1851,10 @@ a.btn-link:hover span.icon-blockchain, a.btn-link:focus span.icon-blockchain, a.
font-size: 1rem;
}

.btn-fixed#btn-404 {
margin-bottom: 1rem;
}

}

@media only screen and (max-width: 30rem) {
Expand Down

0 comments on commit bba64a0

Please sign in to comment.