-
Card1
+
+
{#if !$authSignedInStore}
{/if}
@@ -28,7 +29,7 @@
@include media.min-width(large) {
display: grid;
- grid-template-rows: auto 1fr;
+ grid-template-rows: 150px 1fr;
gap: var(--padding-3x);
padding: var(--padding-3x);
}
@@ -40,15 +41,11 @@
@include media.min-width(large) {
display: grid;
- grid-template-columns: repeat(3, 1fr);
+ grid-template-columns: 1fr 2fr;
- &:has(:first-child:nth-last-child(1)) {
+ &.single-card {
grid-template-columns: 1fr;
}
-
- &:has(:first-child:nth-last-child(2)) {
- grid-template-columns: 1fr 2fr;
- }
}
}