mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-10 21:23:32 +02:00
Wrapup
This commit is contained in:
parent
906622bd55
commit
5a5f72cc47
2 changed files with 13 additions and 10 deletions
|
@ -787,11 +787,16 @@ div.dja__model-description{
|
||||||
color: var(--link-fg);
|
color: var(--link-fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.textarea-wrapper {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 610px;
|
||||||
|
}
|
||||||
|
|
||||||
.dja-readonly-textarea-container {
|
.dja-readonly-textarea-container {
|
||||||
overflow-x: scroll;
|
width: 100%;
|
||||||
textarea {
|
textarea {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 610px;
|
max-width: 610px;
|
||||||
resize: none;
|
resize: none;
|
||||||
cursor: auto;
|
cursor: auto;
|
||||||
|
|
||||||
|
@ -811,12 +816,6 @@ div.dja__model-description{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1230px) {
|
|
||||||
.dja-readonly-textarea-container {
|
|
||||||
overflow-x: scroll;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.max-full {
|
.max-full {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
@ -834,3 +833,7 @@ div.dja__model-description{
|
||||||
// Many elements in django admin try to override this, so we need !important.
|
// Many elements in django admin try to override this, so we need !important.
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.margin-top-0 {
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
|
@ -49,7 +49,7 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
|
||||||
<p>No changelog to display.</p>
|
<p>No changelog to display.</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<button type="button" class="collapse-toggle--dgsimple usa-button usa-button--unstyled">
|
<button type="button" class="collapse-toggle--dgsimple usa-button usa-button--unstyled margin-top-0">
|
||||||
<span>Show details</span>
|
<span>Show details</span>
|
||||||
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24" height="24">
|
||||||
<use xlink:href="/public/img/sprite.svg#expand_more"></use>
|
<use xlink:href="/public/img/sprite.svg#expand_more"></use>
|
||||||
|
@ -124,7 +124,7 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
|
||||||
{% if field.field.name == "action_needed_reason" %}
|
{% if field.field.name == "action_needed_reason" %}
|
||||||
<div class="flex-container">
|
<div class="flex-container">
|
||||||
<label aria-label="Action needed reason email"></label>
|
<label aria-label="Action needed reason email"></label>
|
||||||
<div>
|
<div class="textarea-wrapper">
|
||||||
{% comment %}
|
{% comment %}
|
||||||
Store the action needed reason emails in a json-based dictionary.
|
Store the action needed reason emails in a json-based dictionary.
|
||||||
This allows us to change the action_needed_reason_email field dynamically, depending on value.
|
This allows us to change the action_needed_reason_email field dynamically, depending on value.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue