修改样式

This commit is contained in:
Jeffrey Hsu 2024-11-05 07:41:17 +08:00
parent 12d507964d
commit d7a5ff97de

View File

@ -13,8 +13,8 @@ defineProps<{
<template>
<div class="container relative w-16 max-w-max flex-auto shrink-0 cursor-pointer
group hover:w-full hover:bg-gray-200">
<div class="flex h-16 items-center pr-4 pl-2">
group hover:w-full">
<div class="my-1 flex h-14 items-center rounded-md pr-4 pl-2 group-hover:bg-gray-200">
<font-awesome-icon :icon="icon" class="mx-2 h-8 w-8"/>
<span class="w-0 max-w-max overflow-hidden text-xl transition-all duration-300
text-nowrap group-hover:w-full">