Changeset 5e95aac in Klonkt


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@…>

Location:
src
Files:
2 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');
  • src/views/pages/admin-users.ejs

    rc869272 r5e95aac  
    199199/* ─── Role select + delete ────────────────────────────────────── */
    200200.ax-user-controls {
    201   display: flex; gap: 0.5rem; align-items: center;
     201  display: flex; gap: 0.5rem; align-items: flex-end;
    202202  flex-shrink: 0;
    203203}
     
    215215}
    216216.ax-role select {
     217  width: 112px;
     218  height: 40px;
     219  box-sizing: border-box;
    217220  padding: 0.4rem 1.75rem 0.4rem 0.6rem;
    218221  border: 1px solid var(--rule);
Note: See TracChangeset for help on using the changeset viewer.