refac
This commit is contained in:
1 parent
af9a315ac3
commit
2fcb36267f
1 file changed
+7
-7
@@ -37,7 +37,7 @@
|
|||||||
? 'md:max-w-[calc(100%-var(--sidebar-width))]'
|
? 'md:max-w-[calc(100%-var(--sidebar-width))]'
|
||||||
: 'md:max-w-[calc(100%-42px)]'} w-full max-w-full"
|
: 'md:max-w-[calc(100%-42px)]'} w-full max-w-full"
|
||||||
>
|
>
|
||||||
<nav class=" px-1.5 pt-0.5 backdrop-blur-xl drag-region select-none">
|
<nav class="pb-1 px-2.5 pt-2 backdrop-blur-xl drag-region select-none">
|
||||||
<div class=" flex items-center gap-0.5 md:gap-1">
|
<div class=" flex items-center gap-0.5 md:gap-1">
|
||||||
{#if $mobile}
|
{#if $mobile}
|
||||||
<div class="{$showSidebar ? 'md:hidden' : ''} self-center flex flex-none items-center">
|
<div class="{$showSidebar ? 'md:hidden' : ''} self-center flex flex-none items-center">
|
||||||
@@ -61,13 +61,13 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="">
|
<div class="flex w-full items-center">
|
||||||
<div
|
<div
|
||||||
class="flex gap-0.5 md:gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-normal rounded-full bg-transparent pt-1 touch-auto pointer-events-auto"
|
class="flex min-w-0 mr-1.5 items-center gap-0.5 md:gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-normal rounded-full bg-transparent py-1 touch-auto pointer-events-auto"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
draggable="false"
|
draggable="false"
|
||||||
class="min-w-fit p-1.5 {$page.url.pathname.includes('/admin/users')
|
class="min-w-fit px-1 text-sm {$page.url.pathname.includes('/admin/users')
|
||||||
? ''
|
? ''
|
||||||
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition select-none"
|
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition select-none"
|
||||||
href="/admin">{$i18n.t('Users')}</a
|
href="/admin">{$i18n.t('Users')}</a
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
|
|
||||||
<a
|
<a
|
||||||
draggable="false"
|
draggable="false"
|
||||||
class="min-w-fit p-1.5 {$page.url.pathname.includes('/admin/evaluations')
|
class="min-w-fit px-1 text-sm {$page.url.pathname.includes('/admin/evaluations')
|
||||||
? ''
|
? ''
|
||||||
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition select-none"
|
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition select-none"
|
||||||
href="/admin/evaluations">{$i18n.t('Evaluations')}</a
|
href="/admin/evaluations">{$i18n.t('Evaluations')}</a
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
{#if $config?.features?.enable_plugins}
|
{#if $config?.features?.enable_plugins}
|
||||||
<a
|
<a
|
||||||
draggable="false"
|
draggable="false"
|
||||||
class="min-w-fit p-1.5 {$page.url.pathname.includes('/admin/functions')
|
class="min-w-fit px-1 text-sm {$page.url.pathname.includes('/admin/functions')
|
||||||
? ''
|
? ''
|
||||||
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition select-none"
|
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition select-none"
|
||||||
href="/admin/functions">{$i18n.t('Functions')}</a
|
href="/admin/functions">{$i18n.t('Functions')}</a
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
|
|
||||||
<a
|
<a
|
||||||
draggable="false"
|
draggable="false"
|
||||||
class="min-w-fit p-1.5 {$page.url.pathname.includes('/admin/settings')
|
class="min-w-fit px-1 text-sm {$page.url.pathname.includes('/admin/settings')
|
||||||
? ''
|
? ''
|
||||||
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition select-none"
|
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition select-none"
|
||||||
href="/admin/settings"
|
href="/admin/settings"
|
||||||
|
|||||||
Reference in new issue
Block a user