FIX: Do not show user tips over composer (#20708)
This commit is contained in:
parent
133ea4cfec
commit
fa96569ef2
|
@ -24,6 +24,7 @@ export function showUserTip(options) {
|
|||
hideOnClick: false,
|
||||
trigger: "manual",
|
||||
theme: "user-tips",
|
||||
zIndex: "",
|
||||
|
||||
// It must be interactive to make buttons work.
|
||||
interactive: true,
|
||||
|
@ -55,6 +56,8 @@ export function showUserTip(options) {
|
|||
</div>`,
|
||||
|
||||
onCreate(instance) {
|
||||
instance.popper.classList.add("user-tip");
|
||||
|
||||
instance.popper
|
||||
.querySelector(".btn-dismiss")
|
||||
.addEventListener("click", (event) => {
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
.user-tip {
|
||||
z-index: z("composer", "content") - 1;
|
||||
}
|
||||
|
||||
.user-tip-container {
|
||||
min-width: 300px;
|
||||
padding: 0.5em;
|
||||
|
|
Loading…
Reference in New Issue