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
bdf7ed7f
Commit
bdf7ed7f
authored
Jun 05, 2024
by
Timothy J. Baek
Browse files
fix: mobile screen
parent
66200cfb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+1
-1
src/routes/(app)/+layout.svelte
src/routes/(app)/+layout.svelte
+1
-1
No files found.
src/lib/components/chat/Chat.svelte
View file @
bdf7ed7f
...
...
@@ -1195,7 +1195,7 @@
{#if !chatIdProp || (loaded && chatIdProp)}
<div
class="
min-
h-screen max-h-
screen
{$showSidebar
class="h-screen max-h-
[100dvh]
{$showSidebar
? '
md
:
max
-
w
-[
calc
(
100
%-
260
px
)]
'
: ''} w-full max-w-full flex flex-col"
>
...
...
src/routes/(app)/+layout.svelte
View file @
bdf7ed7f
...
...
@@ -187,7 +187,7 @@
<div class="app relative">
<div
class=" text-gray-700 dark:text-gray-100 bg-white dark:bg-gray-900
min-
h-screen overflow-auto flex flex-row"
class=" text-gray-700 dark:text-gray-100 bg-white dark:bg-gray-900 h-screen
max-h-[100dvh]
overflow-auto flex flex-row"
>
{#if loaded}
{#if !['user', 'admin'].includes($user.role)}
...
...
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