mirror of
https://github.com/wah-su/mstickers.git
synced 2025-04-05 15:54:36 +00:00
fixed element instruction overlay
This commit is contained in:
parent
1a9f903e6f
commit
a4c0a0ce14
2 changed files with 22 additions and 2 deletions
|
@ -51,9 +51,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="absolute inset-0 z-10 hidden min-h-screen bg-black opacity-40" id="preview_sticker_pack_add_to_element_overlay"></div>
|
<div class="fixed inset-0 z-10 hidden min-h-screen bg-black opacity-40" id="preview_sticker_pack_add_to_element_overlay"></div>
|
||||||
|
|
||||||
<div class="absolute md:top-[25%] max-w-[90%] md:max-w-[768px] text-white z-20 hidden flex-col gap-4 p-4 rounded-lg shadow-lg bg-stone-900" id="preview_sticker_pack_add_to_element">
|
<div class="fixed top-8 md:top-32 max-w-[90%] md:max-w-[768px] text-white z-20 hidden flex-col gap-4 p-4 rounded-lg shadow-lg bg-stone-900" id="preview_sticker_pack_add_to_element">
|
||||||
<p>
|
<p>
|
||||||
Type /devtools in chat. Other -> Explore account data in Element Web (not "room account data", must be the global one), edit the m.widgets account data event to have the following content:
|
Type /devtools in chat. Other -> Explore account data in Element Web (not "room account data", must be the global one), edit the m.widgets account data event to have the following content:
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -600,6 +600,18 @@ video {
|
||||||
inset: 0px;
|
inset: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top-0 {
|
||||||
|
top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-16 {
|
||||||
|
top: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-8 {
|
||||||
|
top: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.-z-10 {
|
.-z-10 {
|
||||||
z-index: -10;
|
z-index: -10;
|
||||||
}
|
}
|
||||||
|
@ -922,6 +934,14 @@ video {
|
||||||
top: 25%;
|
top: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.md\:top-64 {
|
||||||
|
top: 16rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md\:top-32 {
|
||||||
|
top: 8rem;
|
||||||
|
}
|
||||||
|
|
||||||
.md\:w-\[600px\] {
|
.md\:w-\[600px\] {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue