fix: tooltip alignment update (#5217)

This commit is contained in:
Nivedin 2025-07-07 13:18:28 +05:30 committed by GitHub
parent 224525be66
commit 27392a5793
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View file

@ -167,8 +167,12 @@ a {
@apply rounded;
@apply shadow;
.env-tooltip-content {
@apply flex-col;
}
.tippy-content {
@apply flex flex-col;
@apply flex;
@apply text-tiny text-primary;
@apply font-semibold;
@apply px-2 py-1;

View file

@ -300,7 +300,7 @@ const cursorTooltipField = (aggregateEnvs: AggregateEnvironment[]) =>
envContainer.appendChild(initialValueBlock)
envContainer.appendChild(currentValueBlock)
tooltipContainer.className = "tippy-content"
tooltipContainer.className = "tippy-content env-tooltip-content"
dom.className = "tippy-box"
dom.dataset.theme = "tooltip"
dom.appendChild(tooltipContainer)

View file

@ -130,7 +130,7 @@ const cursorTooltipField = () =>
dom.className = "tippy-box"
dom.dataset.theme = "tooltip"
tooltipContainer.className = "tippy-content"
tooltipContainer.className = "tippy-content env-tooltip-content"
dom.appendChild(tooltipContainer)
return { dom }