Changeset 125e0e1 in Klonkt


Ignore:
Timestamp:
06/17/2026 03:52:13 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
441f5d6
Parents:
dbde7f8
Message:

Fix: audio player floating on the auth/login screen (mobile)

The auth focus screen renders no bottom tab, but the body keeps has-bottom-tab →
the mini player was still getting the 56px tab offset → floating above a
non-existent tab. body.on-auth .audio-player → bottom:0. audio.css cache-buster v6.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/assets/css/audio.css

    rdbde7f8 r125e0e1  
    102102    padding-bottom: calc(72px + 80px + env(safe-area-inset-bottom, 0));
    103103  }
     104}
     105/* Het auth/login-focusscherm rendert GEEN bottom-tab (zie shell.ejs), maar de body
     106   houdt wel de has-bottom-tab-class → zonder dit zou de mini-player 56px boven de
     107   onderrand zweven boven een niet-bestaande tab. Reset naar bottom:0 (alle breedtes;
     108   op desktop is 't sowieso al 0). Robuuste class-selector — geen :has() in deze
     109   kritieke regel. */
     110body.on-auth .audio-player {
     111  bottom: 0;
     112  padding-bottom: env(safe-area-inset-bottom, 0);
    104113}
    105114[data-theme="dark"] .audio-player {
  • src/views/shell.ejs

    rdbde7f8 r125e0e1  
    168168     anywhere (admin previews, post embeds, etc). The player itself is
    169169     a singleton — see the script tag near </body>. -->
    170 <link rel="stylesheet" href="/assets/css/audio.css?v=5">
     170<link rel="stylesheet" href="/assets/css/audio.css?v=6">
    171171<!-- Eigen custom media-embeds (YouTube/SoundCloud/Spotify) in huisstijl. -->
    172172<link rel="stylesheet" href="/assets/css/embed.css?v=3">
Note: See TracChangeset for help on using the changeset viewer.