mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 09:45:23 +02:00
Styling updates
This commit is contained in:
parent
f7caee0d11
commit
d3b88ccb2b
5 changed files with 11 additions and 4 deletions
|
@ -646,7 +646,7 @@ function initializeWidgetOnList(list, parentId) {
|
|||
const bulletList = document.createElement('ul');
|
||||
|
||||
// CASE 1 - Contacts are not in a table (this happens if there is only one or two other contacts)
|
||||
const contacts = document.querySelectorAll('.field-other_contacts .dja-detail-list dl');
|
||||
const contacts = document.querySelectorAll('.field-other_contacts .dja-detail-list dt');
|
||||
if (contacts) {
|
||||
contacts.forEach(contact => {
|
||||
// Check if the <dl> element is not empty
|
||||
|
|
|
@ -377,6 +377,11 @@ input.admin-confirm-button {
|
|||
}
|
||||
}
|
||||
|
||||
.usa-icon {
|
||||
// align icon with x height
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.module--custom {
|
||||
a {
|
||||
font-size: 13px;
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
}
|
||||
.usa-icon {
|
||||
// align icon with x height
|
||||
vertical-align: middle;
|
||||
margin-top: units(0.5);
|
||||
margin-right: units(0.5);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -27,4 +27,4 @@
|
|||
|
||||
/*--------------------------------------------------
|
||||
--- Admin ---------------------------------*/
|
||||
@forward "admin";
|
||||
@forward "admin";
|
|
@ -21,7 +21,7 @@
|
|||
{% if opts.model_name == 'domainrequest' %}
|
||||
<li>
|
||||
<a id="copy-summary-btn" class="usa-button__clipboard" type="button" href="#">
|
||||
<svg class="usa-icon modelLink-icon" >
|
||||
<svg class="usa-icon" >
|
||||
<use xlink:href="{%static 'img/sprite.svg'%}#content_copy"></use>
|
||||
</svg>
|
||||
<span>{% translate "Copy request summary" %}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue