Skip to content

Commit

Permalink
align maintenance alerts (#6120)
Browse files Browse the repository at this point in the history
* align maintenance alerts

* pull max width into variable (#6121)

---------

Co-authored-by: fzhao99 <bob@skylight.digital>
  • Loading branch information
zdeveloper and fzhao99 authored Jul 13, 2023
1 parent 45bab44 commit 8cc88d7
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
4 changes: 3 additions & 1 deletion frontend/src/app/commonComponents/Header.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@use "../../scss/utilities";

.usa-nav-container.prime-header {
max-width: 1200px;
max-width: utilities.$site-max-width;

.prime-nav-link {
font-size: 1.2rem;
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/app/commonComponents/USAGovBanner.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "../../scss/utilities";

@media print {
.usa-banner {
display: none;
Expand All @@ -6,6 +8,6 @@

.usa-banner {
.usa-banner__inner {
max-width: 1200px;
max-width: utilities.$site-max-width;
}
}
4 changes: 3 additions & 1 deletion frontend/src/app/testQueue/TestQueue.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@use "../../scss/utilities";

.grid-container.queue-container-wide {
max-width: 1200px;
max-width: utilities.$site-max-width;
}

.prime-test-result {
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/app/testResults/TestResultsList.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "../../scss/settings/app-settings.scss";
@use "../../scss/utilities";
@use "../../scss/settings/app-settings.scss";

.sr-test-results-list {
.sticky-heading {
Expand Down Expand Up @@ -144,5 +145,5 @@
}

.grid-container.results-wide-container {
max-width: 1200px;
max-width: utilities.$site-max-width;
}
8 changes: 8 additions & 0 deletions frontend/src/scss/PrimeStyles.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "utilities";

.prime-home {
background-color: color("base-lightest");
padding-top: units(2);
Expand Down Expand Up @@ -1175,3 +1177,9 @@ $results-dropdown-spacing: #{units(4)} - #{units(2)} - 22px - #{units(4)}; // he
.no-hover-state-when-disabled:hover {
box-shadow: inset 0 0 0 2px #c9c9c9 !important;
}

.usa-site-alert {
.usa-alert--emergency {
max-width: utilities.$site-max-width;
}
}
2 changes: 2 additions & 0 deletions frontend/src/scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@
.bg-error {
background-color: color("error");
}

$site-max-width: 1200px;

0 comments on commit 8cc88d7

Please sign in to comment.