Polish Bento scrolling and controls with full screen coverage

This commit is contained in:
Jonathan Sykes
2026-10-04 23:44:51 +08:00
parent 4e5b1584c6
commit 1754933f7e
9 changed files with 229 additions and 14 deletions

View File

@@ -10887,6 +10887,9 @@ function isStackedPlayerLayout() {
if (document.documentElement.dataset.layout === 'classic') {
return getComputedStyle(document.documentElement).getPropertyValue('--classic-stacked').trim() === '1';
}
if (document.documentElement.dataset.layout === 'bento-hub') {
return getComputedStyle(document.documentElement).getPropertyValue('--bento-stacked').trim() === '1';
}
return isPortraitPWA();
}