mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
962e078a9a
commit
7523613fbc
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<script lang="ts">
|
||||
export let className: string = 'w-5 h-5';
|
||||
export let strokeWidth: string = '1.5';
|
||||
</script>
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class={className}>
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
class="flex gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-medium rounded-full bg-transparent pt-1"
|
||||
>
|
||||
<a
|
||||
class="min-w-fit rounded-full p-1.5 {['/admin/users'].includes($page.url.pathname)
|
||||
class="min-w-fit rounded-full p-1.5 {$page.url.pathname.includes('/admin/users')
|
||||
? ''
|
||||
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition"
|
||||
href="/admin">{$i18n.t('Users')}</a
|
||||
|
|
|
|||
Loading…
Reference in a new issue