Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull max width into variable #6121

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
4 changes: 3 additions & 1 deletion 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 @@ -1178,6 +1180,6 @@ $results-dropdown-spacing: #{units(4)} - #{units(2)} - 22px - #{units(4)}; // he

.usa-site-alert {
.usa-alert--emergency {
max-width: 1200px;
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;
Loading