@@ -6,13 +6,13 @@ const viewMode = defineModel<ViewMode>({ default: 'cards' })
66
77<template >
88 <div
9- class =" inline- flex rounded-md border border-border p-0.5 bg-bg-muted"
9+ class =" flex rounded-md border border-border p-0.5 bg-bg-muted"
1010 role =" group"
1111 :aria-label =" $t('filters.view_mode.label')"
1212 >
1313 <button
1414 type =" button"
15- class =" inline- flex items-center px-2.5 py-1.5 text-sm font-medium rounded-sm border transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-offset-1"
15+ class =" flex items-center px-2.5 py-2 text-sm font-medium rounded-sm border transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-offset-1"
1616 :class ="
1717 viewMode === 'cards'
1818 ? 'bg-bg-subtle text-fg border-fg-subtle'
@@ -22,12 +22,12 @@ const viewMode = defineModel<ViewMode>({ default: 'cards' })
2222 :aria-label =" $t('filters.view_mode.cards')"
2323 @click =" viewMode = 'cards'"
2424 >
25- <span class =" i-lucide:rows-2 w-4 h-4" aria-hidden =" true" />
25+ <span class =" block i-lucide:rows-2 w-4 h-4" aria-hidden =" true" />
2626 <span class =" sr-only" >{{ $t('filters.view_mode.cards') }}</span >
2727 </button >
2828 <button
2929 type =" button"
30- class =" inline- flex items-center px-2.5 py-1.5 text-sm font-medium rounded-sm border transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-offset-1"
30+ class =" flex items-center px-2.5 py-2 text-sm font-medium rounded-sm border transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-offset-1"
3131 :class ="
3232 viewMode === 'table'
3333 ? 'bg-bg-subtle text-fg border-fg-subtle'
@@ -37,7 +37,7 @@ const viewMode = defineModel<ViewMode>({ default: 'cards' })
3737 :aria-label =" $t('filters.view_mode.table')"
3838 @click =" viewMode = 'table'"
3939 >
40- <span class =" i-lucide:table w-4 h-4" aria-hidden =" true" />
40+ <span class =" block i-lucide:table w-4 h-4" aria-hidden =" true" />
4141 <span class =" sr-only" >{{ $t('filters.view_mode.table') }}</span >
4242 </button >
4343 </div >
0 commit comments