mirror of
https://github.com/benngaihk/Tiptap-UI-Kit.git
synced 2026-12-05 08:00:42 +00:00
fix(demo): 落地页功能徽章浮到预览窗口之上
浮动标签容器缺 z-index(auto),被 z-index:1 的预览窗口遮住只露半截; 提升到 z-index:2,徽章按设计意图探出窗口边缘悬浮展示。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c915f0d506
commit
becbf57c9a
1 file changed
+3
@@ -697,6 +697,9 @@ onBeforeUnmount(() => {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
pointer-events: none;
|
||||
/* 必须高于 .editor-preview__window 的 z-index: 1,
|
||||
否则探出窗口边缘的功能徽章会被窗口盖住只露出半截 */
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.floating-label {
|
||||
|
||||
Reference in new issue
Block a user