some cleanup

This commit is contained in:
CocoByte 2024-12-23 13:16:32 -07:00
parent b6c556e82f
commit 09763c6b89
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
4 changed files with 9 additions and 15 deletions

View file

@ -5,17 +5,14 @@
/*---------------- /*----------------
Alert Layout Alert Layout
-----------------*/ -----------------*/
// NOTE: !important is used because _font.scss overrides this
@media (min-width: 64em) {
.usa-alert__body--widescreen {
max-width: $widescreen-max-width !important;
}
}
// The icon was off center for some reason // The icon was off center for some reason
// Fixes that issue // Fixes that issue
@media (min-width: 64em){ @media (min-width: 64em){
// NOTE: !important is used because _font.scss overrides this
.usa-alert__body--widescreen {
max-width: $widescreen-max-width !important;
}
.usa-alert--warning{ .usa-alert--warning{
.usa-alert__body::before { .usa-alert__body::before {
left: 1rem !important; left: 1rem !important;
@ -40,14 +37,10 @@
// for usa-alert alert elements // for usa-alert alert elements
.usa-alert { .usa-alert {
.usa-alert__heading.larger-font-sizing { .usa-alert__heading.larger-font-sizing {
font-size: units(3); font-size: 1.5rem;
} }
} }
.usa-alert__text.measure-none {
max-width: measure(none);
}
/*---------------- /*----------------
Alert Coloring Alert Coloring
-----------------*/ -----------------*/

View file

@ -8,7 +8,8 @@
} }
// NOTE: !important is used because _font.scss overrides this // NOTE: !important is used because we are overriding default
// USWDS paddings in a few locations
@media (min-width: 64em) { @media (min-width: 64em) {
.grid-container--widescreen { .grid-container--widescreen {
padding-left: $widescreen-left-padding !important; padding-left: $widescreen-left-padding !important;

View file

@ -19,7 +19,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="tablet:grid-col-9"> <div class="tablet:grid-col-9 maxw-fit-content">
<main id="main-content"> <main id="main-content">
{% if not domain.domain_info %} {% if not domain.domain_info %}
<div class="usa-alert usa-alert--error margin-bottom-2"> <div class="usa-alert usa-alert--error margin-bottom-2">

View file

@ -8,7 +8,7 @@
<div class="tablet:grid-col-3"> <div class="tablet:grid-col-3">
{% include 'domain_request_sidebar.html' %} {% include 'domain_request_sidebar.html' %}
</div> </div>
<div class="tablet:grid-col-9"> <div class="tablet:grid-col-9 maxw-fit-content">
<main id="main-content" class="register-form-step"> <main id="main-content" class="register-form-step">
<input type="hidden" class="display-none" id="wizard-domain-request-id" value="{{domain_request_id}}"/> <input type="hidden" class="display-none" id="wizard-domain-request-id" value="{{domain_request_id}}"/>
{% if steps.current == steps.first %} {% if steps.current == steps.first %}