🐛 sync tip 转义及支持点击

This commit is contained in:
Vanessa 2023-06-19 21:01:57 +08:00
parent b2c0f3ea1f
commit 887443c321
4 changed files with 23 additions and 11 deletions

View file

@ -1,5 +1,5 @@
.tooltip {
pointer-events: none;
user-select: none; // 同步悬浮需要点击链接因此不能使用 pointer-events: none;
position: fixed;
z-index: 1000000;
padding: 4px 8px;
@ -16,6 +16,14 @@
animation-fill-mode: both;
animation-name: zoomIn;
a {
color: var(--b3-theme-secondary);
&:hover {
text-decoration: underline;
}
}
&--error {
background: var(--b3-theme-error);
}