Changeset 67d4067 in Klonkt


Ignore:
Timestamp:
06/14/2026 11:21:54 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
cb6b1ad
Parents:
102d2f0
Message:

fix: tablet full-player uses 'safe center' — cover no longer clipped with a long queue

justify-content:center pushed the cover above the viewport (unreachable) when
cover+queue were taller than the screen. 'safe center' aligns to the top instead.
audio.css v=3->v=4.

Co-Authored-By: Claude <noreply@…>

Location:
src
Files:
2 edited

Legend:

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

    r102d2f0 r67d4067  
    540540    padding: clamp(2rem, 5vh, 4rem) clamp(2rem, 6vw, 5rem);
    541541    gap: clamp(1.25rem, 3vh, 2.5rem);
    542     justify-content: center;
     542    /* 'safe center': verticaal centreren als alles past, maar bovenaan uitlijnen
     543       (geen clip) zodra cover + queue hoger zijn dan het scherm — anders wordt de
     544       cover boven de viewport geduwd en is 'ie niet te scrollen. */
     545    justify-content: safe center;
    543546    align-items: center;
    544547  }
  • src/views/shell.ejs

    r102d2f0 r67d4067  
    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=3">
     170<link rel="stylesheet" href="/assets/css/audio.css?v=4">
    171171
    172172<%- include('partials/shared-styles') %>
Note: See TracChangeset for help on using the changeset viewer.