mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-17 15:04:11 +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');
|
const bulletList = document.createElement('ul');
|
||||||
|
|
||||||
// CASE 1 - Contacts are not in a table (this happens if there is only one or two other contacts)
|
// 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) {
|
if (contacts) {
|
||||||
contacts.forEach(contact => {
|
contacts.forEach(contact => {
|
||||||
// Check if the <dl> element is not empty
|
// 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 {
|
.module--custom {
|
||||||
a {
|
a {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
}
|
}
|
||||||
.usa-icon {
|
.usa-icon {
|
||||||
// align icon with x height
|
// align icon with x height
|
||||||
vertical-align: middle;
|
margin-top: units(0.5);
|
||||||
|
margin-right: units(0.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
{% if opts.model_name == 'domainrequest' %}
|
{% if opts.model_name == 'domainrequest' %}
|
||||||
<li>
|
<li>
|
||||||
<a id="copy-summary-btn" class="usa-button__clipboard" type="button" href="#">
|
<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>
|
<use xlink:href="{%static 'img/sprite.svg'%}#content_copy"></use>
|
||||||
</svg>
|
</svg>
|
||||||
<span>{% translate "Copy request summary" %}</span>
|
<span>{% translate "Copy request summary" %}</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue