Cleanup css

This commit is contained in:
Rachid Mrad 2025-03-19 17:37:04 -04:00
parent b03be4f9c7
commit 8793072a4d
No known key found for this signature in database
3 changed files with 13 additions and 6 deletions

View file

@ -15,6 +15,11 @@
padding-left: $widescreen-x-padding !important;
padding-right: $widescreen-x-padding !important;
}
// Accomodate sideanv + table layouts
.grid-col--sidenav {
max-width: 230px;
}
}
// matches max-width to equal the max-width of .grid-container
@ -24,7 +29,3 @@
.max-width--grid-container {
max-width: 1024px;
}
.grid-col--sidenav {
max-width: 230px;
}

View file

@ -7,7 +7,7 @@ th {
.dotgov-table--stacked {
td, th {
padding: units(1) units(1) units(2px) 0;
padding: units(1) units(2) units(2px) 0;
border: none;
}
@ -142,6 +142,12 @@ th {
}
}
.dotgov-table--cell-padding-1-1-2px-0 {
td, th {
padding: units(1) units(1) units(2px) 0;
}
}
.usa-table--striped tbody tr:nth-child(odd) th,
.usa-table--striped tbody tr:nth-child(odd) td {
background-color: color('primary-lightest');

View file

@ -124,7 +124,7 @@
{% endfor %}
<div class="usa-table-container--scrollable usa-table-container--override-overflow usa-table-container--override-scrollable margin-top-4" tabindex="0">
<table class="usa-table usa-table--borderless usa-table--stacked dotgov-table dotgov-table--stacked" id="dsdata-table">
<table class="usa-table usa-table--borderless usa-table--stacked dotgov-table dotgov-table--stacked dotgov-table--cell-padding-1-1-2px-0" id="dsdata-table">
<thead>
<tr>
<th scope="col" role="columnheader" class="text-bottom">Key tag</th>