Media viewer: header-height restore CSS rule can never match
Facebook Messenger on your desktop, without the Facebook clutter
Brought to you by:
kristoffer-r
Originally created by: kristofferR
src-tauri/inject/messenger.css restores --header-height: 56px while a dialog is open via body:has(...) :root (and the __fb-*-mode variants) — but :root is <html> and the theme classes live on <html>, which can never be a descendant of <body>. The rule is provably dead, so the header-height variable stays 0px and the restored banner/viewer control bar can overlap content. Fix: :root:has(...).
Originally posted by: kristofferR
Fixed in [#137]: the dead media-viewer header-height restore CSS rule was corrected so it can actually match.
Related
Tickets:
#137Ticket changed by: kristofferR