Skip to content

Commit

Permalink
fix mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Oct 27, 2024
1 parent e295453 commit 416cc7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 1 addition & 5 deletions kitsune-fe/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

{@render children()}

<footer class="absolute bottom-3 left-3 text-sm">
<footer class="text-sm max-lg:text-center lg:fixed lg:bottom-3 lg:left-3">
<p>
Backend version: {backendVersion}
<br />Frontend version: {frontendVersion}
Expand All @@ -31,7 +31,3 @@
<a target="_blank" href="https://github.com/kitsune-soc/kitsune">Kitsune</a>
</span>
</footer>

<style lang="scss">
@use '../styles/mixins' as *;
</style>
6 changes: 4 additions & 2 deletions kitsune-fe/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
<button onclick={() => (registerErrorDialogOpen = false)}>Close</button>
</Dialog>

<div class="flex h-screen w-screen flex-col lg:flex-row lg:place-content-evenly lg:items-center">
<div
class="flex min-h-screen w-screen flex-col lg:flex-row lg:place-content-evenly lg:items-center"
>
<div class="place-item-center flex flex-col max-lg:text-center">
<img class="w-3/5" src="/kitsune_full.svg" alt="Kitsune logo" />

Expand All @@ -98,7 +100,7 @@
</ul>
</div>

<div class="basis-1/4">
<div class="basis-1/4 max-lg:m-5">
<form class="grid grid-cols-1 gap-6" onsubmit={doRegister}>
<label class="block" for="username">
Username
Expand Down

0 comments on commit 416cc7a

Please sign in to comment.