mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-03 16:32:15 +02:00
fix margins and padding
This commit is contained in:
parent
7fc9815cee
commit
e4085932d7
3 changed files with 9 additions and 5 deletions
|
@ -100,7 +100,7 @@ export class EditMemberDomainsTable extends BaseTable {
|
|||
}
|
||||
|
||||
row.innerHTML = `
|
||||
<td data-label="Selection" data-sort-value="0">
|
||||
<td data-label="Selection" data-sort-value="0" class="padding-right-105">
|
||||
<div class="usa-checkbox">
|
||||
<input
|
||||
class="usa-checkbox__input"
|
||||
|
@ -111,7 +111,7 @@ export class EditMemberDomainsTable extends BaseTable {
|
|||
${checked ? 'checked' : ''}
|
||||
${disabled ? 'disabled' : ''}
|
||||
/>
|
||||
<label class="usa-checkbox__label" for="${domain.id}">
|
||||
<label class="usa-checkbox__label margin-top-0" for="${domain.id}">
|
||||
<span class="sr-only">${domain.id}</span>
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
@ -73,11 +73,15 @@ th {
|
|||
}
|
||||
}
|
||||
|
||||
td, th,
|
||||
.usa-tabel th{
|
||||
td, th {
|
||||
padding: units(2) units(4) units(2) 0;
|
||||
}
|
||||
|
||||
// Hack fix to the overly specific selector above that broke utility class usefulness
|
||||
.padding-right-105 {
|
||||
padding-right: .75rem;
|
||||
}
|
||||
|
||||
thead tr:first-child th:first-child {
|
||||
border-top: none;
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
<caption class="sr-only">member domains</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-sortable="checked" scope="col" role="columnheader"><span class="sr-only">Assigned domains</span></th>
|
||||
<th data-sortable="checked" scope="col" role="columnheader" class="padding-right-105"><span class="sr-only">Assigned domains</span></th>
|
||||
<!-- We override default sort to be name/ascending in the JSON endpoint. We add the correct aria-sort attribute here to reflect that in the UI -->
|
||||
<th data-sortable="name" scope="col" role="columnheader" aria-sort="descending">Domains</th>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue