Commit graph

28 commits

Author SHA1 Message Date
Vanessa
af6ba1b7fa 🎨 https://github.com/siyuan-note/siyuan/issues/13262 2024-12-05 11:09:09 +08:00
Vanessa
a82b9c23fb 🎨 https://github.com/siyuan-note/siyuan/pull/13326 2024-12-04 09:24:54 +08:00
Jeffrey Chen
eac2902d9b
Improve tooltip (#13326)
* 减少元素更新

* 改进悬浮提示元素位置计算
messageElement.innerHTML = message; 会更新元素的内容,元素此时的 left 属性会对元素的宽度产生影响,导致更新后的元素(比如元素内的文本意外换行了)与直接新建的元素(元素内的文本不会换行)宽度不一致。messageElement.clientWidth 会获取到不符合预期的宽度,进而导致 left 计算错误。

* fix https://github.com/siyuan-note/siyuan/issues/12680

* 隐藏悬浮提示增加少许延迟,避免在相邻的元素间移动时悬浮提示频繁闪烁

* 频率高的放前面
2024-12-04 08:53:53 +08:00
Jeffrey Chen
40b0cd4cba
Improve tooltip (#13286)
* Improve tooltip
为悬浮提示添加类名前先重置一次

* Improve tooltip
为悬浮提示添加类名前先重置一次

* Improve tooltip
2024-11-27 20:50:07 +08:00
Jeffrey Chen
3af13a10db
Improve tooltip (#13250)
* Improve tooltip

* Improve tooltip
2024-11-25 11:25:19 +08:00
Vanessa
b7780e8bec 🎨 https://github.com/siyuan-note/siyuan/issues/11053 2024-11-18 16:42:04 +08:00
Vanessa
bd24cc4b3b ♻️ https://github.com/siyuan-note/siyuan/pull/12746 2024-10-11 12:18:23 +08:00
Jeffrey Chen
1139ffddc0
Improve the class name of showTooltip() (#12746) 2024-10-11 11:45:24 +08:00
Vanessa
94da8fba2b 🎨 left 为默认值 https://github.com/siyuan-note/siyuan/pull/12700 2024-10-08 17:28:04 +08:00
Jeffrey Chen
61e07a1ed1
Improve .protyle-scroll tooltip (#12700)
* Update tooltip.ts

* Update tooltip.ts

* Update index.ts
2024-10-08 17:13:44 +08:00
Vanessa
1ce6662545 https://github.com/siyuan-note/siyuan/issues/11133 2024-04-29 23:52:58 +08:00
Vanessa
e2f1a82db4 💄 tip and memo 2024-04-29 23:30:23 +08:00
Vanessa
7b4ead5e8a 🎨 https://github.com/siyuan-note/siyuan/issues/10142 2024-01-20 00:18:54 +08:00
Vanessa
be5fa99b2c 💄 fix https://github.com/siyuan-note/siyuan/issues/9788 2023-11-30 12:16:33 +08:00
Vanessa
7f9e795035 🎨 https://ld246.com/article/1695087852446 2023-09-19 10:50:45 +08:00
Vanessa
3925d5d1c4 🚨 2023-09-17 22:27:55 +08:00
Vanessa
ecf2e9af31 🎨 resize 2023-09-14 10:37:01 +08:00
Vanessa
64fdb274fb 🎨 tooltip 2023-09-13 18:50:51 +08:00
Vanessa
143054075e 🚨 2023-09-13 12:07:17 +08:00
Vanessa
bff2a4f8c9 🎨 fix https://github.com/siyuan-note/siyuan/issues/9170 2023-09-13 09:36:50 +08:00
Vanessa
ac31b61a19 🎨 fix https://github.com/siyuan-note/siyuan/issues/8741 2023-07-12 18:11:21 +08:00
Vanessa
b2c76638be 🎨 fix https://github.com/siyuan-note/siyuan/issues/8722 2023-07-12 15:13:37 +08:00
Vanessa
a0f016ebca 🎨 fix https://github.com/siyuan-note/siyuan/issues/8722 2023-07-12 11:46:58 +08:00
Vanessa
39f9aaca82 🚨 2023-06-19 21:04:56 +08:00
Vanessa
887443c321 🐛 sync tip 转义及支持点击 2023-06-19 21:01:57 +08:00
Vanessa
7ba98f2ee0 🎨 fix https://github.com/siyuan-note/siyuan/issues/6516 2022-11-15 10:55:05 +08:00
Vanessa
6be604cd85 💄 fix https://github.com/siyuan-note/siyuan/issues/6161 2022-10-12 15:47:40 +08:00
Liang Ding
f40ed985e1
❤️ 完整开源界面和内核 https://github.com/siyuan-note/siyuan/issues/5013 2022-05-26 15:18:53 +08:00