Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
0e8765a7
Commit
0e8765a7
authored
Feb 16, 2024
by
Timothy J. Baek
Browse files
fix: mobile viewport
parent
ac5070d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+2
-2
src/routes/(app)/+page.svelte
src/routes/(app)/+page.svelte
+1
-1
No files found.
src/lib/components/layout/Sidebar.svelte
View file @
0e8765a7
...
...
@@ -87,13 +87,13 @@
<div
bind:this={navElement}
class="h-screen {show
class="h-screen
max-h-[100dvh]
{show
? ''
: '-translate-x-[260px] w-[0px]'} w-[260px] min-w[260px] bg-black text-gray-200 shadow-2xl text-sm transition z-40 fixed top-0 left-0 lg:relative
"
>
<div
class="py-2.5 my-auto flex flex-col justify-between h-screen w-[260px] {show
class="py-2.5 my-auto flex flex-col justify-between h-screen
max-h-[100dvh]
w-[260px] {show
? ''
: 'invisible'}"
>
...
...
src/routes/(app)/+page.svelte
View file @
0e8765a7
...
...
@@ -787,7 +787,7 @@
};
</script>
<div class="
min-
h-screen max-h-
screen
w-full flex flex-col">
<div class="h-screen max-h-
[100dvh]
w-full flex flex-col">
<Navbar {title} shareEnabled={messages.length > 0} {initNewChat} {tags} {addTag} {deleteTag} />
<div class="flex flex-col flex-auto">
<div
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment