Skip to content

Commit

Permalink
PXBF-1954-mobile-layout-updates: adjust mobile padding
Browse files Browse the repository at this point in the history
  • Loading branch information
scottqueen-bixal committed Dec 9, 2024
1 parent ad3e5cb commit f0af6ab
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
@use '@styles/mixins' as *;
@use '@styles/functions' as *;

.bf-result-view {
.bf-grid-container.grid-container {
padding: rem(20px);
}
}

.bf-result-view-benefits,
.bf-result-view-unmet,
.bf-result-view-relevant-benefits,
Expand Down
7 changes: 6 additions & 1 deletion benefit-finder/src/shared/components/Accordion/_index.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use '@styles/colors' as color;
@use '@styles/mixins' as *;
@use '@styles/breakpoints' as *;
@use '@styles/functions' as *;

.bf-usa-accordion {
Expand Down Expand Up @@ -28,6 +29,10 @@
}

.bf-usa-accordion__content {
padding: 0 rem(18px) rem(40px);
padding: 0 rem(16px) rem(24px);

@media(width >= $desktop) {
padding: 0 rem(18px) rem(40px);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
@include h6;

background-color: color.$base-light-grey;
padding: rem(16px) rem(32px);
padding: rem(27px) rem(18px);
margin: 0;

@media (width >= $desktop) {
padding: rem(16px) rem(32px);
}
}

.bf-key-eligibility-criteria-sub-heading {
Expand All @@ -24,12 +28,16 @@
@include list-items;

margin: 0;
padding: rem(16px) rem(32px);
padding: rem(16px) rem(23px);
border: rem(2px) solid color.$base-light-grey;
border-bottom: 0;
display: flex;
flex-wrap: nowrap;

@media (width >= $desktop) {
padding: rem(16px) rem(32px);
}

.bf-checkmark--green {
height: 100%;
margin-right: rem(32px);
Expand All @@ -49,10 +57,11 @@
}

.bf-unmet-criteria-group {
padding: rem(18px) 0 0 rem(24px);
padding: rem(18px) 0 0 rem(10px);

@media (width >= $desktop) {
padding-top: rem(24px);
padding-left: rem(24px);
}

.bf-unmet-criteria-title {
Expand Down

0 comments on commit f0af6ab

Please sign in to comment.