chore: update

This commit is contained in:
xiaoxian521
2026-01-15 12:33:39 +08:00
parent ee4ec7d944
commit 9f707170e8
5 changed files with 8 additions and 12 deletions

View File

@@ -11,13 +11,10 @@ const show = ref<Boolean>(false);
const iconClass = computed(() => { const iconClass = computed(() => {
return [ return [
"w-[22px]", "size-5.5",
"h-[22px]", "flex-c",
"flex",
"justify-center",
"items-center",
"outline-hidden", "outline-hidden",
"rounded-[4px]", "rounded-sm",
"cursor-pointer", "cursor-pointer",
"transition-colors", "transition-colors",
"hover:bg-[#0000000f]", "hover:bg-[#0000000f]",

View File

@@ -189,7 +189,7 @@ const getThemeColor = computed(() => {
}); });
const pClass = computed(() => { const pClass = computed(() => {
return ["mb-[12px]!", "font-medium", "text-sm", "dark:text-white"]; return ["mb-3!", "font-medium", "text-sm", "dark:text-white"];
}); });
const themeOptions = computed<Array<OptionsType>>(() => { const themeOptions = computed<Array<OptionsType>>(() => {

View File

@@ -18,7 +18,7 @@ const { t } = useI18n();
const { tooltipEffect } = useNav(); const { tooltipEffect } = useNav();
const iconClass = computed(() => { const iconClass = computed(() => {
return ["w-[16px]", "h-[16px]"]; return ["size-4"];
}); });
const { $storage } = useGlobal<GlobalPropertiesApi>(); const { $storage } = useGlobal<GlobalPropertiesApi>();

View File

@@ -71,7 +71,7 @@ const textClass = computed(() => {
((layout.value === "vertical" && item.parentId === null) || ((layout.value === "vertical" && item.parentId === null) ||
(layout.value === "mix" && item.pathList.length === 2)) (layout.value === "mix" && item.pathList.length === 2))
) { ) {
return `${baseClass} min-w-[54px]! text-center! px-3!`; return `${baseClass} min-w-13.5! text-center! px-3!`;
} }
return baseClass; return baseClass;
}); });

View File

@@ -21,12 +21,11 @@ const iconClass = computed(() => {
return [ return [
"ml-4", "ml-4",
"mb-1", "mb-1",
"w-[16px]", "size-4",
"h-[16px]",
"inline-block!", "inline-block!",
"align-middle", "align-middle",
"cursor-pointer", "cursor-pointer",
"duration-[100ms]" "duration-100"
]; ];
}); });