Skip to content

Commit 57803a5

Browse files
authored
feat: change page UI (#431)
Signed-off-by: zhaoxinxin <[email protected]>
1 parent 0870a86 commit 57803a5

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/components/clusters/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export default function Clusters() {
463463
<Card className={styles.noData}>
464464
<Box component="img" className={styles.nodataIcon} src="/icons/cluster/scheduler/ic-content.svg" />
465465
<Typography variant="h6" className={styles.nodataText}>
466-
No data
466+
You have no clusters.
467467
</Typography>
468468
</Card>
469469
) : Array.isArray(allClusters) && allClusters.length === 0 ? (

src/components/clusters/peers/inde.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@
155155
width: 100%;
156156
}
157157

158+
.visualizationWrapperCommit {
159+
width: 100%;
160+
margin-top: 2rem;
161+
}
162+
158163
.pieWrapper {
159164
display: flex;
160165
align-items: center;

src/components/clusters/peers/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ export default function Peer() {
674674
</Card>
675675
</Box>
676676
</Box>
677-
<Box className={styles.visualizationWrapper}>
677+
<Box className={styles.visualizationWrapperCommit}>
678678
<Box sx={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center', mb: '1rem' }}>
679679
<Box>
680680
<FormControl sx={{ width: '10rem' }} size="small">

0 commit comments

Comments
 (0)