Changeset ca253750 in Klonkt


Ignore:
Timestamp:
06/17/2026 01:18:19 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
2beef82
Parents:
edc462d
Message:

Post-editor: action bar no longer floats on desktop

body.has-bottom-tab is always set on the body, but the bottom tab is only
visible on mobile. The 64px offset on the sticky footer therefore also
applied on desktop → the bar floated 64px above the bottom edge with
content below it. Offset now inside @media(max-width:767px).

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

File:
1 edited

Legend:

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

    redc462d rca253750  
    825825.pe-actions-spacer { flex: 1; }
    826826
    827 /* On a body that already has a fixed bottom-tab nav (mobile), nudge the
    828    sticky footer up so it doesn't sit under it. The bottom-tab is ~64px tall. */
    829 body.has-bottom-tab .pe-actions {
    830   bottom: 64px;
     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  }
    831834}
    832835</style>
Note: See TracChangeset for help on using the changeset viewer.