Table USWDS markup on change_list, after findings from 831

This commit is contained in:
rachidatecs 2023-08-08 12:17:18 -04:00
parent 19f67a177c
commit e4cad0d226
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525
2 changed files with 10 additions and 1 deletions

View file

@ -125,6 +125,15 @@ table > caption > a {
text-transform: none; text-transform: none;
} }
.change-list {
.usa-table--striped tbody tr:nth-child(odd) td,
.usa-table--striped tbody tr:nth-child(odd) th,
.usa-table td,
.usa-table th {
background-color: transparent;
}
}
#nav-sidebar { #nav-sidebar {
padding-top: 20px; padding-top: 20px;
} }

View file

@ -13,7 +13,7 @@ Load our custom filters to extract info from the django generated markup.
{% endif %} {% endif %}
{% if results %} {% if results %}
<div class="results override-change_list_results"> <div class="results override-change_list_results">
<table id="result_list"> <table id="result_list" class="usa-table usa-table--borderless usa-table--striped">
<thead> <thead>
<tr> <tr>