Skip to content

Commit 84a5b58

Browse files
committed
fix: #OBS-I494: fixed text alignment
1 parent 1300a34 commit 84a5b58

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

web-console-v2/src/pages/DatasetList/DatasetlistCard.module.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
padding-right: 0.5rem !important;
2121
padding-left: 0.5rem !important;
2222
flex: 1 1 auto;
23-
overflow: hidden;
2423
min-width: 0;
24+
word-break: break-word !important;
2525
}
2626

2727
.gridItemNoBorder {
@@ -136,4 +136,5 @@
136136
justify-content: space-between;
137137
align-items: center;
138138
width: 100%;
139+
flex-wrap: wrap;
139140
}

web-console-v2/src/pages/DatasetList/DatasetlistCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const DatasetlistCard: React.FC<DatasetlistCardProps> = ({
160160
{label}
161161
</Typography>
162162
{key === 'status' ? (
163-
<Typography variant="caption">
163+
<Typography variant="caption" sx={{ textAlign: 'start' }}>
164164
{getStatusLabel(String(dataset[key as keyof Dataset]))}
165165
</Typography>
166166
) : (

0 commit comments

Comments
 (0)