Changeset 49f698b in Klonkt


Ignore:
Timestamp:
06/21/2026 05:46:01 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d41f4be
Parents:
fefb80c
Message:

style(switcher): mobile — Agenda on its own row at the top, rest below together

On a phone, Agenda + Solo/Circle + Timeline/Grid didn't fit on one row (462px

~370px) and broke unevenly (Agenda+Solo above, Timeline alone below).

Now the agenda pill gets its own full-width row on ≤520px → Agenda at the top,
Solo/Circle + Timeline/Grid together on the row below (~330px, fits).

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/shared-styles.ejs

    rfefb80c r49f698b  
    5656   chrome) i.p.v. body-class-CSS → werkt betrouwbaar ook na htmx-navigatie. */
    5757.vs-agenda.is-active { color: var(--ink); font-weight: 600; }
     58
     59/* Mobiel: Agenda op een eigen rij bovenaan, en Solo/Cirkel + Tijdlijn/Grid samen
     60   op de rij eronder (samen ~330px → past binnen een telefoon, i.p.v. de oude
     61   onevenwichtige split Agenda+Solo / Tijdlijn). */
     62@media (max-width: 520px) {
     63  .view-switcher-wrap .agenda-pill { flex: 0 0 100%; justify-content: center; }
     64}
    5865
    5966.grid-cols-picker {
Note: See TracChangeset for help on using the changeset viewer.