Skip to content

Commit

Permalink
Merge pull request #103 from CETEN-OpenBar/bugfix/mobile-height-calcu…
Browse files Browse the repository at this point in the history
…lation

fix(mobile): Invalid height calculation on mobile browsers
  • Loading branch information
aripot007 authored Sep 30, 2024
2 parents b1e1f00 + dc905a5 commit 08cd852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/routes/auth/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</svelte:head>

<!-- Connect with Google at the middle of the screen -->
<div class="flex flex-col items-center justify-center h-screen">
<div class="flex flex-col items-center justify-center h-[100dvh]">
<h1 class="font-semibold text-3xl m-3">OpenBar</h1>
<img
src="/logo.png"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/routes/client/commande/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
<!-- Main content -->
<div
id="main"
class="w-screen h-screen top-0 left-0 overflow-y-hidden bg-[#393E46] text-white flex flex-col"
class="h-[100dvh] w-screen top-0 left-0 overflow-y-hidden bg-[#393E46] text-white flex flex-col"
>

<!-- Menu close overlay -->
Expand Down

0 comments on commit 08cd852

Please sign in to comment.