Skip to content

Commit

Permalink
fix: try to update client/commande to have the sidebar to be responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptTF committed Jun 4, 2024
1 parent ce54099 commit 747ad3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/routes/client/commande/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{#if account !== undefined}
<div
id="main"
class="absolute top-0 left-0 w-screen h-screen"
class="top-0 left-0 w-screen h-screen"
style="background-color:#393E46"
out:fly={{ y: window.innerHeight, delay: 500 }}
>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/routes/client/commande/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,13 @@

<div
id="main"
class="absolute w-screen h-screen top-0 left-0 overflow-y-hidden"
class="w-screen h-screen top-0 left-0 overflow-y-hidden"
style="background-color:#393E46"
>
{#if !menuPicks}
<div
class="{sidebar
? 'w-full'
? 'w-4/5'
: 'w-full'} h-full relative transition-all ease-in-out overflow-y-auto"
>
<div class="p-4 flex justify-between" style="background-color:#222831">
Expand Down

0 comments on commit 747ad3d

Please sign in to comment.