refactor: lint + minor ui fixes
This commit is contained in:
@@ -3,16 +3,7 @@
|
||||
:to="`${/^\/(?!\/).*$/.test(to) ? localePath(to) : to}`"
|
||||
:exact="exact"
|
||||
:blank="blank"
|
||||
class="
|
||||
focus:outline-none
|
||||
focus-visible:bg-accentDark
|
||||
inline-flex
|
||||
items-center
|
||||
justify-center
|
||||
py-2
|
||||
font-bold
|
||||
transition
|
||||
"
|
||||
class="focus:outline-none focus-visible:bg-accentDark inline-flex items-center justify-center py-2 font-bold transition"
|
||||
:class="[
|
||||
color
|
||||
? `text-${color}-800 bg-${color}-200 hover:(text-${color}-900 bg-${color}-300) focus-visible:(text-${color}-900 bg-${color}-300)`
|
||||
@@ -38,7 +29,7 @@
|
||||
>
|
||||
<span
|
||||
v-if="!loading"
|
||||
class="inline-flex items-center justify-center whitespace-nowrap"
|
||||
class="whitespace-nowrap inline-flex items-center justify-center"
|
||||
:class="{ 'flex-row-reverse': reverse }"
|
||||
>
|
||||
<i
|
||||
@@ -65,7 +56,7 @@
|
||||
<kbd
|
||||
v-for="(key, index) in shortcut"
|
||||
:key="`key-${index}`"
|
||||
class="inline-flex px-1 ml-1 rounded bg-accentLight"
|
||||
class="bg-accentLight inline-flex px-1 ml-1 rounded"
|
||||
>
|
||||
{{ key }}
|
||||
</kbd>
|
||||
|
||||
Reference in New Issue
Block a user