代码修改

This commit is contained in:
董宏凯 committed 2026-08-26 11:30:39 +08:00
1 parent 33b719d460
commit 21f3787b8b
3 files changed
+20 -2

No files matched your search

+18
View File
@@ -433,3 +433,21 @@
--td-scrollbar-hover-color: rgba(197, 207, 224, 0.36);
--td-scroll-track-color: #122347;
}
/*
* Guide overlays vs. Radix modal dialogs.
*
* Radix modal dialogs (react-remove-scroll) set `pointer-events: none` on
* <body> while open. TDesign Guide mounts its mask / highlight / tooltip
* directly under <body>, so they inherit `none` and every guide button
* (上一步/下一步/跳过/完成) goes dead whenever a modal dialog is open under
* the guide — e.g. the compact-mode tour opening the ManagePromptsDialog.
* Re-enable pointer events on the guide layers explicitly; without a modal
* open this matches the inherited default and changes nothing.
*/
.t-guide__overlay,
.t-guide__highlight,
.t-guide__popup,
.t-guide__wrapper {
pointer-events: auto;
}