mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 13:09:41 +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 = `
|
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">
|
<div class="usa-checkbox">
|
||||||
<input
|
<input
|
||||||
class="usa-checkbox__input"
|
class="usa-checkbox__input"
|
||||||
|
@ -111,7 +111,7 @@ export class EditMemberDomainsTable extends BaseTable {
|
||||||
${checked ? 'checked' : ''}
|
${checked ? 'checked' : ''}
|
||||||
${disabled ? 'disabled' : ''}
|
${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>
|
<span class="sr-only">${domain.id}</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -73,11 +73,15 @@ th {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
td, th,
|
td, th {
|
||||||
.usa-tabel th{
|
|
||||||
padding: units(2) units(4) units(2) 0;
|
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 {
|
thead tr:first-child th:first-child {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
<caption class="sr-only">member domains</caption>
|
<caption class="sr-only">member domains</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<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 -->
|
<!-- 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>
|
<th data-sortable="name" scope="col" role="columnheader" aria-sort="descending">Domains</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue