Changeset b607d4d in Klonkt


Ignore:
Timestamp:
06/29/2026 11:01:19 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
93b147d
Parents:
054b603
Message:

fix(circle): wrap long titles/URLs in no-cover grid tiles instead of overflowing

Federated link posts (e.g. boosted Mastodon links) use a long bare URL as their
title; without word-breaking it overflowed past both edges of the gradient tile and
got clipped mid-URL. It now wraps and clamps to 4 lines cleanly.

  • src/assets/css/style.css — .grid-tile-title: overflow-wrap:anywhere + word-break + hyphens + max-width:100%
  • src/views/shell.ejs — bump style.css buster v63 -> v64

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

Location:
src
Files:
2 edited

Legend:

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

    r054b603 rb607d4d  
    24752475    overflow: hidden;
    24762476    z-index: 1;
     2477    /* Federated link posts can have a long bare URL as their title — break it so it wraps
     2478       inside the tile and clamps cleanly instead of overflowing past both edges. */
     2479    max-width: 100%;
     2480    overflow-wrap: anywhere;
     2481    word-break: break-word;
     2482    hyphens: auto;
    24772483}
    24782484
  • src/views/shell.ejs

    r054b603 rb607d4d  
    205205
    206206<!-- v9 stylesheet (full palette system) -->
    207 <link rel="stylesheet" href="/assets/css/style.css?v=63">
     207<link rel="stylesheet" href="/assets/css/style.css?v=64">
    208208<script>
    209209/* iOS safe-area, built by hand. env(safe-area-inset-top) resolves to 0 on this iOS in
Note: See TracChangeset for help on using the changeset viewer.