Skip to content

Commit

Permalink
PXBF-dev: adjust width on buttons across screen widths
Browse files Browse the repository at this point in the history
  • Loading branch information
scottqueen-bixal committed Aug 30, 2024
1 parent c5e7c9b commit 903654b
Showing 1 changed file with 18 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

0 comments on commit 903654b

Please sign in to comment.