📱 优化移动端文件列表与触控体验

This commit is contained in:
2026-07-10 10:28:59 +08:00
parent 12738b874a
commit 7b2cfb4296
2 changed files with 108 additions and 7 deletions
+3 -3
View File
@@ -45,9 +45,9 @@ const isDarkMode = useInjectedDarkMode()
const sizeClasses = computed(() => {
const sizes = {
sm: 'px-3 py-1.5 text-sm',
md: 'px-4 py-2 text-sm',
lg: 'px-6 py-3 text-base'
sm: 'min-h-11 px-3 py-2 text-sm sm:min-h-0 sm:py-1.5',
md: 'min-h-11 px-4 py-2 text-sm',
lg: 'min-h-12 px-6 py-3 text-base'
}
return sizes[props.size]
})