@@ -1010,17 +1010,17 @@ export default function AccountsPage() {
10101010 ? (
10111011 < span className = "inline-flex min-w-0 items-center" >
10121012 < span className = "truncate" > { t ( 'accounts.today_access_count' , '访问' ) } </ span >
1013- < span aria-hidden = "true" > | </ span >
1014- < span style = { { color : 'var(--ag-success)' } } > { t ( 'accounts.image_count_inline_label' , '图' ) . trim ( ) } </ span >
1013+ < span aria-hidden = "true" className = "px-0.5 text-text" > - </ span >
1014+ < span > { t ( 'accounts.image_count_inline_label' , '图' ) . trim ( ) } </ span >
10151015 </ span >
10161016 )
10171017 : t ( 'accounts.today_access_count' , '访问' ) ;
10181018 const accessValue = showImageCount
10191019 ? (
10201020 < span className = "inline-flex min-w-0 items-center justify-end" >
10211021 < span > { formatCompact ( todayStats ?. requests ?? 0 , false ) } </ span >
1022- < span aria-hidden = "true" > | </ span >
1023- < span style = { { color : 'var(--ag-success)' } } > { formatCompact ( todayImageCount , false ) } </ span >
1022+ < span aria-hidden = "true" className = "px-0.5 text-text" > - </ span >
1023+ < span className = "text-text" > { formatCompact ( todayImageCount , false ) } </ span >
10241024 </ span >
10251025 )
10261026 : formatCompact ( todayStats ?. requests ?? 0 , false ) ;
@@ -1084,13 +1084,7 @@ export default function AccountsPage() {
10841084 title = { canRefresh ? t ( 'accounts.refresh_usage' , '点击刷新用量' ) : undefined }
10851085 onClick = { canRefresh ? handleRefreshClick : undefined }
10861086 >
1087- < div
1088- className = {
1089- windows . length > 0
1090- ? 'grid w-full grid-cols-[minmax(0,1fr)_1rem_18rem] items-start justify-center gap-0'
1091- : 'flex flex-col items-center gap-1.5'
1092- }
1093- >
1087+ < div className = "grid w-full grid-cols-[minmax(0,1fr)_1rem_18rem] items-start justify-center gap-0" >
10941088 < div className = "flex min-w-0 flex-col gap-1" >
10951089 { windowRows . map ( ( item ) => {
10961090 const w = item . window ;
@@ -1128,8 +1122,8 @@ export default function AccountsPage() {
11281122 </ div >
11291123 ) }
11301124 </ div >
1131- { windows . length > 0 ? < span aria-hidden = "true" /> : null }
1132- { windows . length > 0 ? todayMetricChips ?? < div className = { todayMetricColumnClass } /> : todayMetricChips }
1125+ < span aria-hidden = "true" />
1126+ { todayMetricChips ?? < div className = { todayMetricColumnClass } /> }
11331127 </ div >
11341128 </ div >
11351129 ) ;
0 commit comments