known issue: tooltip position
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
}
|
||||
|
||||
.tooltip-wrapper {
|
||||
position: fixed;
|
||||
position: absolute;
|
||||
word-wrap: break-word;
|
||||
height: auto;
|
||||
text-align: left;
|
||||
|
Reference in New Issue
Block a user