Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
979aeceb
authored
May 28, 2026
by
yyhhyyyyyy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: align mobile usage log cost badge
parent
5b86ce0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
web/default/src/features/usage-logs/components/usage-logs-mobile-card.tsx
+7
-4
No files found.
web/default/src/features/usage-logs/components/usage-logs-mobile-card.tsx
View file @
979aeceb
...
...
@@ -183,14 +183,17 @@ function CommonLogsCard<TData>({
const
modelCell
=
cells
.
get
(
'model_name'
)
const
quotaCell
=
cells
.
get
(
'quota'
)
const
createdAtCellOriginal
=
cells
.
get
(
'created_at'
)?.
row
.
original
as
|
Record
<
string
,
unknown
>
|
undefined
return
(
<
div
className=
'space-y-2.5'
>
<
div
className=
'flex min-w-0 items-
start
justify-between gap-3'
>
<
div
className=
'flex min-w-0 items-
center
justify-between gap-3'
>
<
CompactCell
cell=
{
modelCell
}
className=
'flex-1'
/>
<
CompactCell
cell=
{
quotaCell
}
className=
'shrink-0 text-right [&_
span]:!h-6 [&_span]:!px-2 [&_span]:!text-sm [&_span]:!leading-none
'
className=
'shrink-0 text-right [&_
.flex-col]:items-end
'
/>
</
div
>
...
...
@@ -200,8 +203,8 @@ function CommonLogsCard<TData>({
{
t
(
'Time'
)
}
</
div
>
<
MobileLogTimeStatus
createdAt=
{
c
ells
.
get
(
'created_at'
)?.
row
.
o
riginal
?.
created_at
}
type=
{
c
ells
.
get
(
'created_at'
)?.
row
.
o
riginal
?.
type
}
createdAt=
{
c
reatedAtCellO
riginal
?.
created_at
}
type=
{
c
reatedAtCellO
riginal
?.
type
}
/>
</
div
>
<
SummaryField
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment