Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cleanup some of the flexboxes and fix viewport on ios #70

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.8.0",
"private": true,
"scripts": {
"dev": "vite dev --port 5173",
"dev": "vite dev --port 5173 --host 0.0.0.0",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
Expand Down
22 changes: 12 additions & 10 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,16 @@
<Toaster richColors />

<div
class="flex h-screen flex-col items-center justify-center space-y-4 bg-[url('/sunset2.jpg')] bg-cover bg-no-repeat p-6">
<slot />
class="flex h-screen flex-col items-center justify-center bg-[url('/sunset2.jpg')] bg-cover bg-no-repeat">
<div class="flex h-full w-full flex-col items-center gap-y-4 p-6">
<slot />
</div>

<p class="fixed bottom-1 left-1 text-xs">
Hayya {version}
</p>

<p class="bottom-1 right-1 hidden text-xs md:fixed">
Made with &lt;3 by core, sharif_, hhhapz, and iconoclastic_
</p>
</div>

<p class="bottom-1 left-1 hidden text-xs md:fixed">
Hayya {version}
</p>

<p class="bottom-1 right-1 hidden text-xs md:fixed">
Made with &lt;3 by core, sharif_, hhhapz, and iconoclastic_
</p>
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
</script>

<div class="flex h-screen flex-col items-center justify-center space-y-4 p-6">
<div class="flex h-full flex-col items-center justify-center space-y-4 p-6">
<Card.Root class="w-[20em] content-center justify-center pt-5 text-center">
<Card.Header class="space-y-0 pb-0 pt-0">
<img src={logo} alt="VATMENA logo" class="logo_image" />
Expand Down
2 changes: 1 addition & 1 deletion src/routes/callback/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
export let data: PageData;
</script>

<div class="flex h-screen flex-col items-center justify-center space-y-4 p-6">
<div class="flex h-full flex-col items-center justify-center space-y-4 p-6">
<Card.Root class="w-[20em] content-center justify-center pt-5 text-center">
<Card.Header class="space-y-0 pb-0 pt-0">
<img src={logo} alt="VATMENA logo" class="logo_image" />
Expand Down
2 changes: 1 addition & 1 deletion src/routes/logout/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
});
</script>

<div class="flex h-screen flex-col items-center justify-center space-y-4 p-6">
<div class="flex h-full flex-col items-center justify-center space-y-4 p-6">
<Card.Root class="w-[20em] content-center justify-center pt-5 text-center">
<Card.Header class="space-y-0 pb-0 pt-0">
<img src={logo} alt="VATMENA logo" class="logo_image" />
Expand Down
2 changes: 1 addition & 1 deletion src/routes/switch_hq/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
}
</script>

<div class="flex h-screen flex-col items-center justify-center space-y-4 p-6">
<div class="flex h-full flex-col items-center justify-center space-y-4 p-6">
<Card.Root class="content-center justify-center">
<Card.Header>
<Card.Title>
Expand Down
Loading