Skip to content

Commit f7eae55

Browse files
committed
RI-6040 fix styling
1 parent 90da085 commit f7eae55

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

redisinsight/ui/src/pages/browser/modules/key-details/components/stream-details/groups-view/GroupsViewWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const GroupsViewWrapper = (props: Props) => {
289289
<EuiText color="subdued" size="s" style={{ maxWidth: '100%' }}>
290290
<div
291291
className="truncateText streamItem"
292-
style={{ display: 'flex' }}
292+
style={{ display: 'flex', maxWidth: '190px' }}
293293
data-testid={`stream-group-date-${id}`}
294294
>
295295
<FormatedDate date={timestamp} />

redisinsight/ui/src/pages/slow-log/components/SlowLogTable/SlowLogTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const SlowLogTable = (props: Props) => {
4646
minWidth: 190,
4747
isSortable: true,
4848
render: (timestamp) => (
49-
<EuiText size="s" color="subdued" data-testid="timestamp-value">
49+
<EuiText size="s" color="subdued" data-testid="timestamp-value" className={styles.timestampCell}>
5050
<FormatedDate date={timestamp * 1000} />
5151
</EuiText>
5252
)

redisinsight/ui/src/pages/slow-log/components/styles.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,7 @@
5959
width: 100%;
6060
}
6161
}
62+
63+
.timestampCell {
64+
overflow: hidden;
65+
}

0 commit comments

Comments
 (0)