Changeset d8c6a83 in Klonkt for src/assets/css/style.css


Ignore:
Timestamp:
06/20/2026 08:29:48 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d68bcf1
Parents:
cf0de0c
Message:

fix(downloads+posts): post nav on downloads page + post images full width

  • The pinned "Downloads!" is a real post with slug 'downloads'; the feature route /downloads intercepts it (no post nav). Now /downloads calculates the Newer/Older neighbours of that post and shows the post nav — download buttons remain.
  • Post images (.post-content img) always fill the container width with natural (uncropped) height. style.css?v=20.

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

File:
1 edited

Legend:

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

    rcf0de0c rd8c6a83  
    612612.post-image--right { text-align: right; }
    613613.post-image--right img { margin-left: auto; margin-right: 0; }
     614
     615/* Afbeeldingen in de post-tekst vullen ALTIJD de containerbreedte en houden hun
     616   natuurlijke (niet-bijgesneden) hoogte — geen vaste hoogte / geen crop. */
     617.post-content img {
     618    display: block;
     619    width: 100%;
     620    max-width: 100%;
     621    height: auto;
     622    border-radius: 6px;
     623    margin: 1.4em auto;
     624}
    614625
    615626/* Mini-player + bottom-tab clearance: applied to .pcms-main so the footer
Note: See TracChangeset for help on using the changeset viewer.