Changeset 2beef82 in Klonkt


Ignore:
Timestamp:
06/17/2026 01:24:14 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d3e2987
Parents:
ca253750
Message:

Post-editor: hide site tab bar in the editor (focus screen)

On narrow screens, the Save bar and the mobile bottom tab (Home/Search/…)
stacked right on top of each other at the bottom while writing. The editor
is a focus screen → tab bar hidden (via :has(.post-edit-page)); the
Save/Cancel bar now sits at bottom:0 without a tab offset. Audio player
offset on the editor also set to 0.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/post-edit.ejs

    rca253750 r2beef82  
    825825.pe-actions-spacer { flex: 1; }
    826826
    827 /* Alleen op mobiel staat de bottom-tab in beeld → daar de sticky footer eroverheen
    828    tillen. Op desktop bestaat de bottom-tab niet (CSS-hidden), dus de balk hoort
    829    gewoon op bottom:0 — anders zweeft 'ie 64px boven de onderrand. */
    830 @media (max-width: 767px) {
    831   body.has-bottom-tab .pe-actions {
    832     bottom: calc(56px + env(safe-area-inset-bottom, 0));
    833   }
    834 }
     827/* De editor is een focus-scherm: verberg de mobiele site-tabbalk (Home/Zoek/…)
     828   zodat er niet twee balken onderaan stapelen (Opslaan-balk + tabbalk). De
     829   Opslaan/Annuleren-balk wordt dan de enige onderbalk → gewoon op bottom:0,
     830   geen tab-offset meer nodig. Op desktop is de tabbalk toch al verborgen. */
     831body:has(.post-edit-page) .bottom-tab { display: none; }
     832/* Audiospeler (indien aan het spelen) niet meer 56px optillen voor de nu-verborgen
     833   tabbalk, anders zou die zweven boven de actiebalk. */
     834body:has(.post-edit-page) .audio-player { bottom: 0; }
    835835</style>
    836836
Note: See TracChangeset for help on using the changeset viewer.