Fix compose context menu not working on other pages

This commit is contained in:
Lim Chee Aun 2025-03-13 02:11:44 +08:00
parent 03a778d17d
commit fbf510cb0d
2 changed files with 2 additions and 2 deletions

View file

@ -1660,7 +1660,7 @@ body:has(.media-modal-container + .status-deck) .media-post-link {
padding: 16px; padding: 16px;
background-color: var(--button-bg-blur-color); background-color: var(--button-bg-blur-color);
/* backdrop-filter: blur(16px); */ /* backdrop-filter: blur(16px); */
z-index: 10; z-index: 20;
box-shadow: box-shadow:
0 3px 8px -1px var(--drop-shadow-color), 0 3px 8px -1px var(--drop-shadow-color),
0 10px 36px -4px var(--button-bg-blur-color); 0 10px 36px -4px var(--button-bg-blur-color);

View file

@ -148,7 +148,7 @@ export default function ComposeButton() {
boundingBoxPadding={safeBoundingBoxPadding()} boundingBoxPadding={safeBoundingBoxPadding()}
containerProps={{ containerProps={{
style: { style: {
zIndex: 9, zIndex: 19,
}, },
onClick: () => { onClick: () => {
menuRef.current?.closeMenu?.(); menuRef.current?.closeMenu?.();