UI: Fix mobile sidebar height and behaviour for Firefox

Fixes #6548.
This commit is contained in:
Dennis Reimann 2025-01-13 12:45:15 +01:00
parent e1f47b2738
commit c430d3b4ed
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0

View file

@ -488,7 +488,6 @@
transition: transform var(--btcpay-transition-duration-fast) ease-in-out; transition: transform var(--btcpay-transition-duration-fast) ease-in-out;
/* Fixes https://github.com/btcpayserver/btcpayserver/issues/3807 */ /* Fixes https://github.com/btcpayserver/btcpayserver/issues/3807 */
height: calc(100vh - var(--mobile-header-height)); /* This line is a fallback for browsers which don't support "fill-available" */ height: calc(100vh - var(--mobile-header-height)); /* This line is a fallback for browsers which don't support "fill-available" */
height: -moz-available;
height: -webkit-fill-available; height: -webkit-fill-available;
height: fill-available; height: fill-available;
/* Since we can't do "calc(fill-available - var(--mobile-header-height));" I'm using "padding-bottom" instead */ /* Since we can't do "calc(fill-available - var(--mobile-header-height));" I'm using "padding-bottom" instead */