Skip to content

Commit c90a784

Browse files
committed
#RI-5213 - fix tooltip position, fix scroll
1 parent d401c51 commit c90a784

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/string-details-table/StringDetailsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const StringDetailsTable = (props: Props) => {
195195
title={!isValid ? noEditableText : undefined}
196196
anchorClassName={styles.tooltipAnchor}
197197
className={styles.tooltip}
198-
position="top"
198+
position="left"
199199
data-testid="string-value-tooltip"
200200
>
201201
<EuiText

redisinsight/ui/src/pages/browser/modules/key-details/components/string-details/string-details-table/styles.module.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ $outer-height-mobile: 340px;
3030
overflow-x: hidden;
3131
word-break: break-word;
3232
line-height: 1.2;
33+
width: 100%;
3334

3435
pre {
3536
background-color: transparent !important;
@@ -46,7 +47,9 @@ $outer-height-mobile: 340px;
4647

4748
.tooltipAnchor {
4849
display: inline-flex !important;
49-
height: 100%;
50+
height: auto;
51+
max-height: 100%;
52+
width: 100%;
5053
}
5154

5255
.stringFooterBtn {

0 commit comments

Comments
 (0)