Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
danielguillan committed Nov 13, 2024
1 parent 5a616a3 commit 78b13fb
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions packages/react/src/PricingOptions/PricingOptions.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,26 @@
'footnote'
;

display: grid;
grid-template-areas: var(--brand-pricing-options-template-areas);
grid-auto-rows: min-content;
/* prettier-ignore */
--brand-pricing-options-template-areas-single-item:
'leadingComponent actions'
'label actions'
'heading actions'
'description actions'
'price actions'
'feature-list actions';

display: grid;
row-gap: var(--brand-pricing-options-item-gap);
padding-inline: var(--brand-pricing-options-container-padding-inline);
}

@media (min-width: 63.25rem) {
.PricingOptions {
grid-template-areas: var(--brand-pricing-options-template-areas);
}
}

/* ---------------------------------------------------------- */
/* Layout: default */
/* ---------------------------------------------------------- */
Expand Down Expand Up @@ -60,7 +73,6 @@
position: absolute;
inset-inline: 0;
height: 1px;
margin-block-start: calc(var(--brand-pricing-options-item-gap) * -1);
background-color: var(--brand-color-border-default);
}

Expand Down Expand Up @@ -104,13 +116,7 @@
grid-template-columns: 1fr 1fr;
column-gap: calc(var(--base-size-96) * 2);
grid-template-rows: repeat(auto-fit, minmax(0, 1fr));
grid-template-areas:
'leadingComponent actions'
'label actions'
'heading actions'
'description actions'
'price actions'
'feature-list actions';
grid-template-areas: var(--brand-pricing-options-template-areas-single-item);
}

.PricingOptions--items1 .PricingOptions__actions {
Expand Down Expand Up @@ -169,9 +175,9 @@
@supports not (grid-template-rows: subgrid) {
@media (min-width: 63.28rem) {
.PricingOptions__item {
grid-template-areas: var(--brand-pricing-options-template-areas);
grid-template-columns: 1fr;
grid-template-rows: auto;
grid-template-areas: var(--brand-pricing-options-template-areas);
}
}
}
Expand Down

0 comments on commit 78b13fb

Please sign in to comment.