Skip to content

Commit

Permalink
Add message when there are no new pre-releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
BadIdeaException committed Feb 11, 2024
1 parent 0340bdf commit 6ea9ef4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _pages/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,12 @@ <h3 class="version">{{ prerelease.tag_name }}</h3>
</a>
</article>
{% endfor %}
</div>
</div>
</article>
{% else %}
<div class="nothing-new">
There are no pre-releases newer than the latest stable release.
</div>
{% endfor %}
</section>

Expand Down
5 changes: 5 additions & 0 deletions assets/css/download.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
}

#prerelease {
.nothing-new {
font-style: italic;
border: none;
}

.prerelease {
margin: 1rem 0;
padding: 0.5ex;
Expand Down

0 comments on commit 6ea9ef4

Please sign in to comment.