0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-31 22:51:25 -05:00

refactor(console): audit log details page (#2514)

This commit is contained in:
Xiao Yijun 2022-11-23 19:00:31 +08:00 committed by GitHub
parent 400735ba2f
commit 715b0192a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -46,6 +46,8 @@
}
.body {
margin-bottom: _.unit(6);
> :not(:first-child) {
margin-top: _.unit(4);
}

View file

@ -95,12 +95,12 @@ const AuditLogDetails = () => {
</div>
</div>
</Card>
<TabNav>
<TabNavItem href={`/audit-logs/${logId ?? ''}`}>
{t('log_details.tab_details')}
</TabNavItem>
</TabNav>
<Card className={classNames(styles.body, detailsStyles.body)}>
<TabNav>
<TabNavItem href={`/audit-logs/${logId ?? ''}`}>
{t('log_details.tab_details')}
</TabNavItem>
</TabNav>
<div className={styles.main}>
<FormField title="log_details.raw_data">
<CodeEditor language="json" value={JSON.stringify(data.payload, null, 2)} />