Skip to content

Commit

Permalink
Merge pull request #1748 from GSA/1747-adjust-button-widths-mobile
Browse files Browse the repository at this point in the history
1747 adjust button widths mobile
  • Loading branch information
scottqueen-bixal authored Aug 30, 2024
2 parents 33c9964 + 903654b commit f8a6609
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
21 changes: 18 additions & 3 deletions benefit-finder/src/shared/components/LifeEventSection/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,28 @@
min-width: rem(120px);
}

.bf-usa-button:first-of-type {
margin-right: space.$space-lg-plus;
.bf-usa-modal-group {
width: 100%;
}

button,
.bf-usa-modal-group a {
margin-bottom: space.$space-md;
margin: 0;
}

@media (width >= $tablet) {
.bf-usa-button:first-of-type {
margin-right: space.$space-lg-plus;
}

.bf-usa-modal-group {
width: auto;
}

button,
.bf-usa-modal-group a {
margin-bottom: space.$space-md;
}
}
}

Expand Down
1 change: 1 addition & 0 deletions benefit-finder/src/shared/styles/breakpoints/_index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use '../functions/index.scss' as *;

$desktop: rem(1049px);
$tablet: rem(479px);

0 comments on commit f8a6609

Please sign in to comment.