Skip to content

Commit

Permalink
Fix styling of sorting links
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Mar 15, 2024
1 parent 5bcd41f commit 2852040
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion assets/css/_recording_list.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.c-recording {
&.a-category {
&.a-public, &.a-featured {
main {
.nav {
.nav-link {
Expand All @@ -18,6 +18,10 @@
margin-right: 0.5rem;
font-size: 0.875rem;
}

a.sort-popularity {
border-color: #d3d9df;
}
}

.pagination {
Expand Down
2 changes: 1 addition & 1 deletion lib/asciinema_web/controllers/recording/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
href="?order=popularity"
title="popularity"
active?={@order == :popularity}
class="btn btn-light"
class="btn btn-light sort-popularity"
/>
</div>
</div>
Expand Down

0 comments on commit 2852040

Please sign in to comment.