fix: tooltip alignment update (#5217)
This commit is contained in:
parent
224525be66
commit
27392a5793
3 changed files with 7 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Reference in a new issue