Changeset 6bee3ec in Klonkt


Ignore:
Timestamp:
06/24/2026 05:43:08 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
0aa23cf
Parents:
62dea30
Message:

Pinned badge: white SVG pin icon instead of the multicolour 📌 emoji

The emoji ignored the badge's color:#fff. Swap it for a monochrome line-icon that
inherits the white text colour. style.css?v=49.

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

Location:
src
Files:
3 edited

Legend:

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

    r62dea30 r6bee3ec  
    24602460    pointer-events: none;
    24612461}
    2462 .grid-tile-pin::before {
    2463     content: "📌";
    2464     font-size: .9em;
    2465     line-height: 1;
     2462.grid-tile-pin svg {
     2463    width: .95em;
     2464    height: .95em;
     2465    margin-top: -1px;
    24662466}
    24672467/* Pinned-tile overall highlight: accent border + subtle inner glow */
  • src/views/partials/post-tile.ejs

    r62dea30 r6bee3ec  
    2222  <% } %>
    2323  <% if (_isPinned) { %>
    24     <span class="grid-tile-pin">Pinned</span>
     24    <span class="grid-tile-pin"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 17v5"/><path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></svg>Pinned</span>
    2525  <% } %>
    2626
  • src/views/shell.ejs

    r62dea30 r6bee3ec  
    175175
    176176<!-- v9 stylesheet (full palette system) -->
    177 <link rel="stylesheet" href="/assets/css/style.css?v=48">
     177<link rel="stylesheet" href="/assets/css/style.css?v=49">
    178178
    179179<!-- Audio player styles: loaded on every page so the mini-player works
Note: See TracChangeset for help on using the changeset viewer.