ui: improve hover hint

This commit is contained in:
Anthony Fu 2022-11-27 12:45:26 +08:00
parent 4d3d05ae5c
commit fcde653efe
3 changed files with 13 additions and 4 deletions

View file

@ -8,7 +8,7 @@ defineProps<{
<template>
<NuxtLink :to="to" active-class="text-primary" group focus:outline-none>
<div flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 group-hover:bg-active group-focus-visible:ring="2 current">
<div flex w-fit px5 py2 gap2 items-center transition-100 rounded-full group-hover:bg-active group-focus-visible:ring="2 current">
<slot name="icon">
<div :class="icon" />
</slot>