feat(ui): improve rockets dashboard page

This commit is contained in:
Angelica Willianto
2024-08-12 12:06:42 +07:00
parent 7fa19c01f6
commit f13bea7075
3 changed files with 6 additions and 6 deletions

View File

@@ -13,7 +13,7 @@
//$page.url.searchParams.get("tab")
</script>
<Card.Root class="flex w-[350px] flex-col justify-between">
<Card.Root class="flex flex-col justify-between">
<Card.Header>
<Card.Title>{rocket.Name()}</Card.Title>
<Card.Description>{rocket.Mission()}</Card.Description>
@@ -29,7 +29,7 @@
</div>
</Card.Content>
<Card.Footer>
<div class="flex justify-between gap-2">
<div class="flex flex-wrap justify-between gap-2 lg:gap-1">
<Button
on:click={() => {
console.log(rocket.Event.rawEvent());
@@ -39,7 +39,7 @@
<Button
on:click={() => {
goto(`${base}/rockets/${rocket.URL()}`);
}}>View Full Rocket<ChevronRight class="h-4 w-4" /></Button
}}>View Full Rocket <ChevronRight class="h-4 w-4" /></Button
>
</div>
</Card.Footer>