fix: fix audit log too long will broken style problem
This commit is contained in:
parent
2afb5e55f7
commit
b02e0b75d6
@ -88,19 +88,21 @@ export const AuditLog: React.FC = React.memo(() => {
|
|||||||
t('Nothing more to load')
|
t('Nothing more to load')
|
||||||
)
|
)
|
||||||
) : (
|
) : (
|
||||||
<div className="flex items-center">
|
<div className="flex items-center overflow-hidden h-7">
|
||||||
{item.relatedType && (
|
{item.relatedType && (
|
||||||
<ColorTag label={item.relatedType} />
|
<ColorTag label={item.relatedType} />
|
||||||
)}
|
)}
|
||||||
<div
|
<div
|
||||||
className="opacity-60 mr-2 text-xs"
|
className="opacity-60 mr-2 text-xs w-9"
|
||||||
title={dayjs(item.createdAt).format(
|
title={dayjs(item.createdAt).format(
|
||||||
'YYYY-MM-DD HH:mm:ss'
|
'YYYY-MM-DD HH:mm:ss'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{dayjs(item.createdAt).format('MM-DD HH:mm')}
|
{dayjs(item.createdAt).format('MM-DD HH:mm')}
|
||||||
</div>
|
</div>
|
||||||
<div>{item.content}</div>
|
<div className="overflow-auto h-full flex-1">
|
||||||
|
{item.content}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</List.Item>
|
</List.Item>
|
||||||
|
Loading…
Reference in New Issue
Block a user