Web: Abstand unten immer nach der echten Höhe der Leiste, sw v58
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
713b25f36a
commit
8015f4eecc
2 changed files with 4 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
* diora service worker — caches the app shell for offline use.
|
* diora service worker — caches the app shell for offline use.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const CACHE = 'diora-v57';
|
const CACHE = 'diora-v58';
|
||||||
const SHELL = [
|
const SHELL = [
|
||||||
'/static/css/app.css',
|
'/static/css/app.css',
|
||||||
'/static/js/app.js',
|
'/static/js/app.js',
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,9 @@ html.dpw.dpw-in-bar #now-playing-bar #nui-pod-mini {
|
||||||
html.dpw.dpw-in-bar #now-playing-bar #nui-pod-mini { position: static; }
|
html.dpw.dpw-in-bar #now-playing-bar #nui-pod-mini { position: static; }
|
||||||
html.dpw.dpw-in-bar #now-playing-bar .nui-pod-mini-bar { top: -1px; }
|
html.dpw.dpw-in-bar #now-playing-bar .nui-pod-mini-bar { top: -1px; }
|
||||||
html.dpw.dpw-in-bar #now-playing-bar .nui-pod-art-mini { width: 40px; height: 40px; margin-left: 1.5rem; }
|
html.dpw.dpw-in-bar #now-playing-bar .nui-pod-art-mini { width: 40px; height: 40px; margin-left: 1.5rem; }
|
||||||
|
/* The page keeps clear of the bar by its real height (two rows on phones,
|
||||||
|
the player in it or not). */
|
||||||
|
html.dpw.dpw-in-bar .main-content,
|
||||||
html.dpw.dpw-in-bar.nui-pod-mini-open .main-content {
|
html.dpw.dpw-in-bar.nui-pod-mini-open .main-content {
|
||||||
padding-bottom: calc(var(--dpw-bar-h, 72px) + 2rem);
|
padding-bottom: calc(var(--dpw-bar-h, 72px) + 2rem);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue