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
1a22ae54
"driver/device_direct_convolution_2.hpp" did not exist on "121693b3d3b3148010f0756c5ab4741476620aba"
Commit
1a22ae54
authored
Jun 18, 2024
by
Timothy J. Baek
Browse files
fix: styling
parent
20e4f6cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+1
-1
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+3
-3
No files found.
src/lib/components/chat/Chat.svelte
View file @
1a22ae54
...
@@ -1321,7 +1321,7 @@
...
@@ -1321,7 +1321,7 @@
<div
<div
class="h-screen max-h-[100dvh] {$showSidebar
class="h-screen max-h-[100dvh] {$showSidebar
? 'md:max-w-[calc(100%-260px)]'
? 'md:max-w-[calc(100%-260px)]'
: ''} w-full max-w-full flex flex-col"
: ''} w-full max-w-full flex flex-col
z-40
"
>
>
{#if $settings?.backgroundImageUrl ?? null}
{#if $settings?.backgroundImageUrl ?? null}
<div
<div
...
...
src/lib/components/layout/Sidebar.svelte
View file @
1a22ae54
...
@@ -209,7 +209,7 @@
...
@@ -209,7 +209,7 @@
{#if $showSidebar}
{#if $showSidebar}
<div
<div
class=" fixed md:hidden z-
4
0 top-0 right-0 left-0 bottom-0 bg-black/60 w-full min-h-screen h-screen flex justify-center overflow-hidden overscroll-contain"
class=" fixed md:hidden z-
3
0 top-0 right-0 left-0 bottom-0 bg-black/60 w-full min-h-screen h-screen flex justify-center overflow-hidden overscroll-contain"
on:mousedown={() => {
on:mousedown={() => {
showSidebar.set(!$showSidebar);
showSidebar.set(!$showSidebar);
}}
}}
...
@@ -221,12 +221,12 @@
...
@@ -221,12 +221,12 @@
id="sidebar"
id="sidebar"
class="h-screen max-h-[100dvh] min-h-screen select-none {$showSidebar
class="h-screen max-h-[100dvh] min-h-screen select-none {$showSidebar
? 'md:relative w-[260px]'
? 'md:relative w-[260px]'
: '-translate-x-[260px] w-[0px]'} bg-gray-50 text-gray-900 dark:bg-gray-950 dark:text-gray-200 text-sm transition fixed z-
5
0 top-0 left-0 rounded-r-2xl
: '-translate-x-[260px] w-[0px]'} bg-gray-50 text-gray-900 dark:bg-gray-950 dark:text-gray-200 text-sm transition fixed z-
3
0 top-0 left-0 rounded-r-2xl
"
"
data-state={$showSidebar}
data-state={$showSidebar}
>
>
<div
<div
class="py-2.5 my-auto flex flex-col justify-between h-screen max-h-[100dvh] w-[260px] z-
5
0 {$showSidebar
class="py-2.5 my-auto flex flex-col justify-between h-screen max-h-[100dvh] w-[260px] z-
3
0 {$showSidebar
? ''
? ''
: 'invisible'}"
: 'invisible'}"
>
>
...
...
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