Changeset 3507b0b in Klonkt


Ignore:
Timestamp:
06/26/2026 08:37:56 AM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
49b1b39
Parents:
066951c
Message:

fix(fediverse): follow button now shares the social-icon circle (32px)

Root cause: .profile-links a { width:32px } styled the social <a> icons, but the
follow <button> didn't match that selector and fell back to an inline
.profile-link { 36px } -> 36px vs 32px mismatch. Add .profile-fedi-link to the
.profile-links a size/hover rules so the button is a true peer at every
breakpoint; logo svg 22px in the 32px circle.

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

Location:
src
Files:
3 edited

Legend:

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

    r066951c r3507b0b  
    22042204}
    22052205.profile-links li { margin: 0; }
    2206 .profile-links a {
     2206.profile-links a,
     2207.profile-links .profile-fedi-link {
    22072208    display: inline-flex;
    22082209    align-items: center;
     
    22162217    transition: background .15s, color .15s;
    22172218}
    2218 .profile-links a:hover {
     2219.profile-links a:hover,
     2220.profile-links .profile-fedi-link:hover {
    22192221    background: color-mix(in srgb, var(--accent) 15%, transparent);
    22202222    color: var(--accent);
     
    27892791.profile-bio { font-size: .85rem; margin-top: .15rem; }
    27902792.profile-links { margin-top: .5rem; gap: .4rem; }
    2791 .profile-links a { width: 32px; height: 32px; }
     2793.profile-links a,
     2794.profile-links .profile-fedi-link { width: 32px; height: 32px; }
    27922795
    27932796@media (min-width: 768px) {
  • src/views/partials/profile-header.ejs

    r066951c r3507b0b  
    281281/* The fediverse logo is an open line-network, so it reads smaller than a solid
    282282   glyph at 18px — render it larger INSIDE the same 36px circle (circle unchanged). */
    283 .profile-fedi-link svg { width: 24px; height: 24px; }
     283.profile-fedi-link svg { width: 22px; height: 22px; }
    284284</style>
  • src/views/shell.ejs

    r066951c r3507b0b  
    198198
    199199<!-- v9 stylesheet (full palette system) -->
    200 <link rel="stylesheet" href="/assets/css/style.css?v=50">
     200<link rel="stylesheet" href="/assets/css/style.css?v=51">
    201201
    202202<!-- Audio player styles: loaded on every page so the mini-player works
Note: See TracChangeset for help on using the changeset viewer.