refac
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export let className: string = 'w-5 h-5';
|
export let className: string = 'w-5 h-5';
|
||||||
|
export let strokeWidth: string = '1.5';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class={className}>
|
<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"
|
class="flex gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-medium rounded-full bg-transparent pt-1"
|
||||||
>
|
>
|
||||||
<a
|
<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"
|
: 'text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white'} transition"
|
||||||
href="/admin">{$i18n.t('Users')}</a
|
href="/admin">{$i18n.t('Users')}</a
|
||||||
|
|||||||
Reference in New Issue
Block a user