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
a4c4a037
Commit
a4c4a037
authored
Mar 24, 2024
by
Timothy J. Baek
Browse files
refac: transition
parent
3e0aa296
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+2
-4
No files found.
src/lib/components/layout/Sidebar.svelte
View file @
a4c4a037
...
@@ -20,12 +20,10 @@
...
@@ -20,12 +20,10 @@
getAllChatTags
getAllChatTags
} from '$lib/apis/chats';
} from '$lib/apis/chats';
import { toast } from 'svelte-sonner';
import { toast } from 'svelte-sonner';
import { slide } from 'svelte/transition';
import {
fade,
slide } from 'svelte/transition';
import { WEBUI_BASE_URL } from '$lib/constants';
import { WEBUI_BASE_URL } from '$lib/constants';
import Tooltip from '../common/Tooltip.svelte';
import Tooltip from '../common/Tooltip.svelte';
import Dropdown from '../common/Dropdown.svelte';
import ChatMenu from './Sidebar/ChatMenu.svelte';
import ChatMenu from './Sidebar/ChatMenu.svelte';
import { flyAndScale } from '$lib/utils/transitions';
let show = false;
let show = false;
let navElement;
let navElement;
...
@@ -578,7 +576,7 @@
...
@@ -578,7 +576,7 @@
<div
<div
id="dropdownDots"
id="dropdownDots"
class="absolute z-40 bottom-[70px] 4.5rem rounded-xl shadow w-[240px] bg-white dark:bg-gray-900"
class="absolute z-40 bottom-[70px] 4.5rem rounded-xl shadow w-[240px] bg-white dark:bg-gray-900"
in:flyAndScale={{ y: 5
}}
transition:fade|slide={{ duration: 100
}}
>
>
<div class="py-2 w-full">
<div class="py-2 w-full">
{#if $user.role === 'admin'}
{#if $user.role === 'admin'}
...
...
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