Changeset ee25d45 in Klonkt


Ignore:
Timestamp:
06/17/2026 12:46:48 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
a3e2f17
Parents:
6b0a8e2
Message:

View-switcher: margin-top 1.5rem in shared-styles (the winning inline rule)

The previous edit was in style.css, but shared-styles.ejs (inline <style>,
later in the cascade) set margin-top:0.5rem and won — so the alignment
stayed skewed. Now set symmetrically in the winning rule (1.5rem above =
1.5rem below).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

Location:
src
Files:
2 edited

Legend:

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

    r6b0a8e2 ree25d45  
    20242024    border-bottom: 1px solid var(--rule);
    20252025    background: var(--paper);
    2026     /* Even veel lucht boven als onder de pill-balk (was scheef: ~8px boven /
    2027        24px onder). Symmetrisch oogt rustiger. */
    2028     margin-top: 1.5rem;
     2026    /* Bottom margin gives breathing room between the switcher bar and the
     2027       first post. margin-top staat in shared-styles.ejs (de winnende inline
     2028       <style>) — symmetrisch op 1.5rem. */
    20292029    margin-bottom: 1.5rem;
    20302030}
  • src/views/partials/shared-styles.ejs

    r6b0a8e2 ree25d45  
    66  border-bottom: 1px solid var(--rule);
    77  background: var(--paper);
    8   /* Breathing room: profile-header has padding-bottom 1.5rem already, so a
    9      small additional margin-top gives the switcher its own visual layer. */
    10   margin-top: 0.5rem;
     8  /* Even veel lucht boven als onder de pill-balk (margin-bottom = 1.5rem in
     9     style.css). Was 0.5rem → voelde scheef. */
     10  margin-top: 1.5rem;
    1111}
    1212.view-switcher-wrap .container {
Note: See TracChangeset for help on using the changeset viewer.