Skip to content

Commit

Permalink
PXBF-1954-mobile-layout-updates: update width of form containers to r…
Browse files Browse the repository at this point in the history
…emove padding at desktop
  • Loading branch information
scottqueen-bixal committed Nov 21, 2024
1 parent 04de5a2 commit 2b8aa8b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
10 changes: 9 additions & 1 deletion benefit-finder/src/Routes/LifeEventSection/_index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use '@styles/colors' as color;
@use '@styles/breakpoints' as *;
@use '@styles/space' as space;
@use '@styles/sizes' as *;
@use '@styles/sizes' as size;
@use '@styles/mixins' as *;
@use '@styles/functions' as *;

Expand All @@ -10,6 +10,14 @@
background-color: color.$officer-navy;
margin: 0;
padding-bottom: space.$padding-bottom-xl;

.bf-grid-container.grid-container {
max-width: size.$form-container-max-width;

@media (width >= $desktop) {
padding: 0;
}
}
}

.bf-section-wrapper {
Expand Down
8 changes: 7 additions & 1 deletion benefit-finder/src/shared/components/Form/_index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@use '../../styles/colors/index.scss' as color;
@use '@styles/sizes' as size;
@use '@styles/breakpoints' as *;
@use '@styles/functions' as *;

form.bf-usa-form {
Expand All @@ -7,6 +9,10 @@ form.bf-usa-form {
margin: 0;

.bf-grid-container.grid-container {
max-width: rem(1234px)
max-width: size.$form-container-max-width;

@media (width >= $desktop) {
padding: 0;
}
}
}
1 change: 1 addition & 0 deletions benefit-finder/src/shared/styles/sizes/_index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use '@styles/functions/_index.scss' as *;

$button-max-width: rem(248px);
$form-container-max-width: rem(1234px)

0 comments on commit 2b8aa8b

Please sign in to comment.