mirror of
https://github.com/vector-im/element-call.git
synced 2026-11-25 09:51:09 +08:00
In a call view at most 600px high, and in a one-on-one call in a view at most 600px wide, the footer is drawn over the video. The spotlight tile's bottom-right buttons (full screen, expand, screen share volume) stayed pinned to the tile's bottom edge, underneath the footer, so a click on them landed on the footer instead. Offset the buttons by --call-view-safe-area-inset-bottom, which the call view already sets to the footer's height while the footer overlays the tiles. The media foreground of a maximised tile uses the same inset. The variable is unset in every other layout, so nothing moves there. The rule is not limited to maximised tiles: with the layout switch on "grid", a short window shows a spotlight tile that is not maximised but still reaches the bottom edge.