NTP-18629 | Bundle size optimization | Tooltip hotfix (#1347)

This commit is contained in:
Ashish Deo
2025-01-23 19:08:21 +05:30
committed by GitHub
parent 7527a8d5c6
commit c66b19d728
2 changed files with 15 additions and 15 deletions

View File

@@ -87,4 +87,19 @@
width: fit-content;
display: inline-block;
}
.tooltipWrapper {
padding: 4px 8px 4px 8px;
box-sizing: border-box;
width: max-content;
z-index: var(--z-index-tooltip);
max-width: 200px;
font-weight: 400;
font-size: 12px;
line-height: 14px;
word-wrap: break-word;
color: var(--text-primary);
border-radius: 4px;
background: var(--grayscale-warm-4);
}
}

View File

@@ -160,21 +160,6 @@
}
:global {
.tooltipWrapper {
padding: 4px 8px 4px 8px;
box-sizing: border-box;
width: max-content;
z-index: var(--z-index-tooltip);
max-width: 200px;
font-weight: 400;
font-size: 12px;
line-height: 14px;
word-wrap: break-word;
color: var(--text-primary);
border-radius: 4px;
background: var(--grayscale-warm-4);
}
.eventCustomText {
word-wrap: normal;
word-break: keep-all;