Skip to content

Commit

Permalink
Update layout styles for responsive design adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Dec 1, 2024
1 parent 4462677 commit 25ae218
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
</svelte:head>

<div class="h-screen bg-background block w-full">
<div class={cs({ 'md:hidden': $openSettingsDrawer$ })}>
<div class={cs('w-full', { 'md:hidden': $openSettingsDrawer$ })}>
<RootNav {sessionId} />
</div>
<div
class={cs('flex w-full', {
class={cs('flex w-full relative', {
'h-full': $openSettingsDrawer$,
'h-[calc(100%-4rem)]': !$openSettingsDrawer$
'h-[calc(100vh-4rem)]': !$openSettingsDrawer$
})}
>
{#if browser}
Expand Down

0 comments on commit 25ae218

Please sign in to comment.