Skip to content

Commit

Permalink
Page style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Apr 16, 2024
1 parent 04a7a1d commit 7870384
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/routes/app/upload/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<div class="card">
<DocumentUpload {csrf_token} {projects}>
<Flex direction="column">
<header>
<h1 class="title">Upload documents</h1>

{#if form?.success}
Expand All @@ -33,23 +33,29 @@
will then be able to edit document information.
</p>
{/if}
</Flex>
</header>
</DocumentUpload>
</div>

<style>
header {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-bottom: 1rem;
}
.card {
margin: 1rem;
padding: 1rem;
border-radius: 1rem;
box-shadow: var(--shadow);
background: var(--white);
}
.title {
font-size: var(--font-xl);
font-weight: var(--font-semibold);
}
.description {
margin: 1rem 0;
opacity: 0.7;
}
</style>

0 comments on commit 7870384

Please sign in to comment.