Skip to content

Commit 8cca73b

Browse files
authored
Fix [Artifact] tooltip label hover pop up issue (iguazio#368)
1 parent 8f086fa commit 8cca73b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/lib/components/FormChipCell/FormChip/formChip.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
&__content {
2020
display: flex;
2121
align-items: center;
22+
23+
&-item {
24+
flex: 1 1 50%;
25+
max-width: fit-content;
26+
align-self: flex-start;
27+
}
2228
}
2329

2430
&__delimiter {

src/lib/components/FormChipCell/FormChipCellView.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,15 @@ const FormChipCellView = React.forwardRef(
113113
text={
114114
chipData.tooltip || (
115115
<span className="chip__content">
116-
{chipData.key}
116+
<span className="chip__content-item">{chipData.key}</span>
117117
{!chipData.isKeyOnly && (
118118
<>
119119
<span className="chip__delimiter">
120120
{chipData.delimiter ? chipData.delimiter : ':'}
121121
</span>
122-
{chipData.value}
122+
<span className="chip__content-item">
123+
{chipData.value}
124+
</span>
123125
</>
124126
)}
125127
</span>

0 commit comments

Comments
 (0)