Changeset 5e95aac in Klonkt for src/server.js


Ignore:
Timestamp:
06/14/2026 06:23:48 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
a3169f5
Parents:
c869272
Message:

fix: users list alignment + site icon SF -> K (Klonkt)

  • admin-users: role dropdown fixed width (112px) + height (40px) matching the delete button, controls bottom-aligned -> dropdowns and trash buttons are evenly aligned across all rows (were skewed due to auto-width selects + center-alignment on the taller label+select block).
  • favicon (_renderFavicon): 'SF' -> 'K' for Klonkt.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/server.js

    rc869272 r5e95aac  
    264264function _renderFavicon(res, accent) {
    265265  const safeAccent = /^#[0-9a-fA-F]{3,8}$/.test(accent) ? accent : '#c2410c';
    266   // Site mark: rounded square in the site accent + bold white 'SF'
     266  // Site mark: rounded square in the site accent + bold white 'K' (Klonkt)
    267267  const svg = `<?xml version="1.0" encoding="UTF-8"?>
    268268<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
    269269  <rect width="64" height="64" rx="14" fill="${safeAccent}"/>
    270   <text x="50%" y="50%" dy="0.36em" text-anchor="middle"
     270  <text x="50%" y="50%" dy="0.35em" text-anchor="middle"
    271271        font-family="Arial, Helvetica, sans-serif"
    272         font-size="30" font-weight="800" letter-spacing="-1" fill="#fff">SF</text>
     272        font-size="42" font-weight="800" fill="#fff">K</text>
    273273</svg>`;
    274274  res.set('Content-Type', 'image/svg+xml');
Note: See TracChangeset for help on using the changeset viewer.