Skip to content

Commit

Permalink
fix: dirty bg color on clicking order item
Browse files Browse the repository at this point in the history
(cherry picked from commit 2a71e62)
  • Loading branch information
krantheman authored and mergify[bot] committed Dec 12, 2023
1 parent b745e97 commit 48fcac0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions hrms/www/jobs/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ p {
color: var(--text-on-blue);
border-radius: var(--border-radius);
}

.order-item:active {
background-color: var(--gray-200);
}
5 changes: 4 additions & 1 deletion hrms/www/jobs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ <h3 class="mt-0 mb-10">{{ _("Job Openings") }}</h3>
</div>
</div>
<div class="dropdown-menu border" aria-labelledby="dropdownMenuButton">
{% for order in orders %}<a name="sort" class="dropdown-item text-secondary">{{ order }}</a>{% endfor %}
{% for order in orders %}
<a name="sort"
class="{{ 'dropdown-item order-item text-secondary font-weight-bold' if order == order_by else 'dropdown-item order-item text-secondary' }}">{{ order }}</a>
{% endfor %}
</div>
</div>
</div>
Expand Down

0 comments on commit 48fcac0

Please sign in to comment.