Skip to content

Commit 01b112d

Browse files
small UI updates
1 parent 362249b commit 01b112d

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

client/packages/lowcoder/src/pages/setting/appUsage/dashboard.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ export function AppUsageDashboard() {
374374
<StyleThemeSettingsCover>
375375
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{"User Engagement By Region"}</h2>
376376
</StyleThemeSettingsCover>
377-
<Card>
377+
<Card size="small">
378378
{loading ? (
379379
<Skeleton active paragraph={{ rows: 5 }} />
380380
) : currentPageLogs.length > 0 ? (
@@ -390,7 +390,7 @@ export function AppUsageDashboard() {
390390
<StyleThemeSettingsCover>
391391
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{"App Usage Logs"}</h2>
392392
</StyleThemeSettingsCover>
393-
<Card>
393+
<Card size="small">
394394
{loading ? (
395395
<Skeleton active paragraph={{ rows: 5 }} />
396396
) : currentPageLogs.length > 0 ? (
@@ -409,7 +409,7 @@ export function AppUsageDashboard() {
409409
<StyleThemeSettingsCover>
410410
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{"Top 10 Apps"}</h2>
411411
</StyleThemeSettingsCover>
412-
<Card>
412+
<Card size="small">
413413
{loading ? (
414414
<Skeleton active paragraph={{ rows: 5 }} />
415415
) : currentPageLogs.length > 0 ? (
@@ -433,7 +433,7 @@ export function AppUsageDashboard() {
433433
<StyleThemeSettingsCover>
434434
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{"Anonymous/Known Users"}</h2>
435435
</StyleThemeSettingsCover>
436-
<Card>
436+
<Card size="small">
437437
{loading ? (
438438
<Skeleton active paragraph={{ rows: 5 }} />
439439
) : currentPageLogs.length > 0 ? (
@@ -451,7 +451,7 @@ export function AppUsageDashboard() {
451451
<StyleThemeSettingsCover>
452452
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{"Device/OS Breakdown"}</h2>
453453
</StyleThemeSettingsCover>
454-
<Card>
454+
<Card size="small">
455455
{loading ? (
456456
<Skeleton active paragraph={{ rows: 5 }} />
457457
) : currentPageLogs.length > 0 ? (
@@ -469,7 +469,7 @@ export function AppUsageDashboard() {
469469
<StyleThemeSettingsCover>
470470
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{"Browser/Layout Engine Breakdown"}</h2>
471471
</StyleThemeSettingsCover>
472-
<Card>
472+
<Card size="small">
473473
{loading ? (
474474
<Skeleton active paragraph={{ rows: 5 }} />
475475
) : currentPageLogs.length > 0 ? (

client/packages/lowcoder/src/pages/setting/audit/detail.tsx

+8-4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ const StyleThemeSettingsCover = styled.div`
2626
`;
2727

2828
const StyledTree = styled(Tree)`
29+
&.ant-tree {
30+
margin-top: 24px;
31+
}
32+
2933
.ant-tree-treenode {
3034
margin-bottom: 24px;
3135
}
@@ -35,7 +39,7 @@ const StyledTree = styled(Tree)`
3539
}
3640
3741
.ant-tree-indent-unit {
38-
width: 48px;
42+
width: 0;
3943
}
4044
`;
4145

@@ -235,12 +239,12 @@ export function AuditLogDetail() {
235239
<Card size="small" style={{ marginBottom: "20px", borderTopLeftRadius: 0, borderTopRightRadius: 0 }}>
236240
<Map
237241
height={300}
238-
defaultZoom={11}
239-
defaultCenter={[geoLocation.location.latitude, geoLocation.location.longitude]}
242+
defaultZoom={5}
243+
defaultCenter={[55, 15]}
240244
>
241245
<Marker
242246
width={50}
243-
anchor={[geoLocation.location.latitude, geoLocation.location.longitude]}
247+
anchor={[55, 15]}
244248
/>
245249
</Map>
246250
</Card>

0 commit comments

Comments
 (0)