known issue: tooltip position

This commit is contained in:
2023-04-04 17:31:42 +08:00
parent 3bc258149c
commit fa1b7df4a0
5 changed files with 83 additions and 21 deletions

View File

@ -17,6 +17,7 @@
& {
--hover-bg-color: lightyellow;
--link-fore-color: #1890ff;
--header-border-color: #adaba9;
--header-bg-color: #fafafa;
--header-fore-color: #000;
@ -281,6 +282,26 @@
top: calc(var(--line-height) + 2px);
}
}
.icon {
display: flex;
cursor: pointer;
height: var(--line-height);
justify-content: center;
align-items: center;
position: relative;
svg {
width: 16px;
height: 16px;
fill: var(--link-fore-color);
transition: opacity .12s ease;
}
&:hover svg {
opacity: .4;
}
}
}
}
}

View File

@ -9,7 +9,7 @@
}
.tooltip-wrapper {
position: fixed;
position: absolute;
word-wrap: break-word;
height: auto;
text-align: left;