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
1509c2c2
Unverified
Commit
1509c2c2
authored
Apr 03, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Apr 03, 2024
Browse files
Merge pull request #1406 from jannikstdl/fix-whitemode-onhover
Fix hover in whitemode
parents
d94bc21a
15d24a6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+4
-4
No files found.
src/lib/components/layout/Sidebar.svelte
View file @
1509c2c2
...
@@ -581,7 +581,7 @@
...
@@ -581,7 +581,7 @@
<div class="py-2 w-full">
<div class="py-2 w-full">
{#if $user.role === 'admin'}
{#if $user.role === 'admin'}
<button
<button
class="flex py-2.5 px-3.5 w-full dark:hover:bg-gray-800 transition"
class="flex py-2.5 px-3.5 w-full
hover:bg-gray-100
dark:hover:bg-gray-800 transition"
on:click={() => {
on:click={() => {
goto('/admin');
goto('/admin');
showDropdown = false;
showDropdown = false;
...
@@ -607,7 +607,7 @@
...
@@ -607,7 +607,7 @@
</button>
</button>
<button
<button
class="flex py-2.5 px-3.5 w-full dark:hover:bg-gray-800 transition"
class="flex py-2.5 px-3.5 w-full
hover:bg-gray-100
dark:hover:bg-gray-800 transition"
on:click={() => {
on:click={() => {
goto('/playground');
goto('/playground');
showDropdown = false;
showDropdown = false;
...
@@ -634,7 +634,7 @@
...
@@ -634,7 +634,7 @@
{/if}
{/if}
<button
<button
class="flex py-2.5 px-3.5 w-full dark:hover:bg-gray-800 transition"
class="flex py-2.5 px-3.5 w-full
hover:bg-gray-100
dark:hover:bg-gray-800 transition"
on:click={async () => {
on:click={async () => {
await showSettings.set(true);
await showSettings.set(true);
showDropdown = false;
showDropdown = false;
...
@@ -669,7 +669,7 @@
...
@@ -669,7 +669,7 @@
<div class="py-2 w-full">
<div class="py-2 w-full">
<button
<button
class="flex py-2.5 px-3.5 w-full dark:hover:bg-gray-800 transition"
class="flex py-2.5 px-3.5 w-full
hover:bg-gray-100
dark:hover:bg-gray-800 transition"
on:click={() => {
on:click={() => {
localStorage.removeItem('token');
localStorage.removeItem('token');
location.href = '/auth';
location.href = '/auth';
...
...
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