Skip to content

Commit

Permalink
ui: grid of profile cards (#646)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Nardi <[email protected]>
  • Loading branch information
nicole-obrien and MarkNerdi authored Sep 11, 2023
1 parent 8019470 commit 91f11ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/desktop/views/login/views/SelectProfileView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
</logo-container>
</header>
<div
class="overflow-y-auto items-start justify-center overlay-scrollbar gap-8 flex flex-row flex-wrap w-full px-20"
class="
card-conatiner flex flex-row w-full justify-center gap-8 overflow-y-auto overlay-scrollbar
{$profiles.length > 4 ? 'grid grid-cols-4' : ''}"
>
{#each $profiles as profile}
<ProfileCard {profile} onClick={onContinueClick} />
Expand Down Expand Up @@ -88,4 +90,8 @@
content: '';
@apply absolute h-full w-1/2 bg-violet-700 blur-3xl opacity-40 left-1/2 -bottom-20 -translate-x-1/2;
}
.card-conatiner {
max-width: 1000px;
}
</style>

0 comments on commit 91f11ff

Please sign in to comment.