refac: admin panel styling

This commit is contained in:
Timothy J. Baek
2024-05-14 20:48:46 -10:00
parent e9decf2dda
commit 1d98099099
5 changed files with 264 additions and 246 deletions

View File

@@ -33,7 +33,7 @@
import ArchivedChatsModal from './Sidebar/ArchivedChatsModal.svelte';
import UserMenu from './Sidebar/UserMenu.svelte';
const BREAKPOINT = 1024;
const BREAKPOINT = 768;
let show = false;
let navElement;
@@ -274,7 +274,7 @@
</div>
{#if $user?.role === 'admin'}
<div class="px-1.5 flex justify-center">
<div class="px-1.5 flex justify-center text-gray-800 dark:text-gray-200">
<a
class="flex-grow flex space-x-3 rounded-xl px-3.5 py-2 hover:bg-gray-100 dark:hover:bg-gray-900 transition"
href="/workspace"

View File

@@ -151,6 +151,12 @@
);
</script>
<svelte:head>
<title>
{$i18n.t('Documents')} | {$WEBUI_NAME}
</title>
</svelte:head>
{#if dragged}
<div
class="fixed w-full h-full flex z-50 touch-none pointer-events-none"