Skip to content

Commit 95459cf

Browse files
author
TARS
committed
chore(release): v1.0.5
- Tab 用户名最大宽度调整为移动端 100px,桌面端 140px
1 parent d20ef62 commit 95459cf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cf-daily-tracker",
33
"private": true,
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function UserTabs({ users, activeIndex, onSelect }: UserTabsProps) {
8585
alt={user.handle}
8686
className="w-5 h-5 rounded-full shrink-0"
8787
/>
88-
<span className="truncate max-w-[80px] sm:max-w-[120px]">{user.handle}</span>
88+
<span className="truncate max-w-[100px] sm:max-w-[140px]">{user.handle}</span>
8989
<span className={`text-xs px-1.5 py-0.5 rounded-full shrink-0 ${activeIndex === index ? 'bg-blue-100 dark:bg-blue-900/50 text-blue-600 dark:text-blue-400' : 'bg-gray-200 dark:bg-gray-600 text-gray-500 dark:text-gray-400'}`}>
9090
{user.rating}
9191
</span>
@@ -242,7 +242,7 @@ function getRatingColor(rating: number): string {
242242
}
243243

244244
// 应用版本号(与 package.json 保持一致)
245-
const APP_VERSION = '1.0.4';
245+
const APP_VERSION = '1.0.5';
246246

247247
/**
248248
* 主应用组件

0 commit comments

Comments
 (0)