Fix compose button not hiding for other pages

This commit is contained in:
Lim Chee Aun 2023-05-08 22:41:21 +08:00
parent c95a451111
commit e860fa99fa

View file

@ -1171,7 +1171,7 @@ body:has(.media-modal-container + .status-deck) .media-post-link {
0 10px 36px -4px var(--button-bg-blur-color);
transition: all 0.3s ease-in-out;
}
#home-page:has(header[hidden]) ~ #compose-button,
.deck-container:has(header[hidden]) ~ #compose-button,
#compose-button[hidden] {
transform: translateY(200%);
pointer-events: none;