Changeset a78e051 in Klonkt for src/assets


Ignore:
Timestamp:
06/27/2026 01:03:36 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
196e1be
Parents:
0a7ba90
Message:

fix(ui): avatar placeholder opens popup + smaller wrapping source label on tiles

  • views/partials/profile-header.ejs — the no-photo avatar (music-note/initial placeholder) is now a button that opens the profile-summary modal, like the photo case; the modal renders even without a photo (placeholder shown inside) + CSS for the placeholder.
  • assets/css/style.css — the cirkel-feed 'van <site>' source label on grid tiles was 1.44rem (bigger than the post title) and overflowed on mobile; now .72rem, wraps to 2 lines, chain icon kept large (1.3rem) beside it. Same for the no-cover gradient variant.
  • views/shell.ejs — bump style.css cache-buster v56->v57.
File:
1 edited

Legend:

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

    r0a7ba90 ra78e051  
    23962396}
    23972397/* Bron-site (cirkel-feed): toont bij hover "van <site>" onder de titel. */
     2398/* Source label: small text that wraps to 2 lines if needed, with a big chain icon
     2399   beside it (the text was 1.44rem — bigger than the title — and overflowed on mobile). */
    23982400.grid-tile-overlay-src {
    23992401    color: #fff; opacity: .85;
    2400     font-size: 1.44rem; margin-top: .2rem;
    2401     display: inline-flex; align-items: center;
    2402 }
    2403 .grid-tile-overlay-src::before { content: "⛓"; margin-right: .25rem; font-size: .9em; }
     2402    font-size: .72rem; line-height: 1.2; margin-top: .25rem;
     2403    display: flex; align-items: center; gap: .3rem; width: 100%;
     2404}
     2405.grid-tile-overlay-src::before { content: "⛓"; font-size: 1.3rem; line-height: 1; flex: 0 0 auto; }
    24042406.grid-tile-gradient-src {
    2405     margin-top: .35rem; font-size: 1.44rem; opacity: .85;
     2407    margin-top: .35rem; font-size: .72rem; line-height: 1.2; opacity: .85;
    24062408    color: var(--ink-soft);
    2407     display: inline-flex; align-items: center;
    2408 }
    2409 .grid-tile-gradient-src::before { content: "⛓"; margin-right: .25rem; font-size: .9em; }
     2409    display: flex; align-items: center; gap: .3rem; width: 100%;
     2410}
     2411.grid-tile-gradient-src::before { content: "⛓"; font-size: 1.3rem; line-height: 1; flex: 0 0 auto; }
    24102412.grid-tile-overlay strong {
    24112413    color: #fff;
Note: See TracChangeset for help on using the changeset viewer.