diff --git a/frontend/src/lib/components/portfolio/TotalAssetsCard.svelte b/frontend/src/lib/components/portfolio/TotalAssetsCard.svelte new file mode 100644 index 0000000000..e4f0f2d09d --- /dev/null +++ b/frontend/src/lib/components/portfolio/TotalAssetsCard.svelte @@ -0,0 +1,14 @@ + + + + + + + diff --git a/frontend/src/lib/pages/Portfolio.svelte b/frontend/src/lib/pages/Portfolio.svelte index ca1e5dc154..dbb8b3a497 100644 --- a/frontend/src/lib/pages/Portfolio.svelte +++ b/frontend/src/lib/pages/Portfolio.svelte @@ -1,12 +1,13 @@
-
- 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; - } } }