Changeset 9dbb175 in Klonkt


Ignore:
Timestamp:
07/16/2026 08:29:21 PM (8 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
3778ddb
Parents:
010e073
git-author:
Robin <roboburr@…> (07/16/2026 08:28:47 PM)
git-committer:
Robin <roboburr@…> (07/16/2026 08:29:21 PM)
Message:

Fix: bare video/audio embeds no longer overflow their column

The embed width rule (.pcms-embed iframe, .folio-embed iframe) only covered
iframes, so the native <video>/<audio> players added in 1.4.0 for bare
.webm/.mp4/.mp3 links kept their intrinsic width and overflowed the content
column. Extend the selector to video/audio (targeted, not '*', so the
client-side player cards' inner elements are untouched). Verified in a browser:
a bare .mp4 <video> now measures the same width as the container and a working
iframe embed, with no horizontal overflow. Reported by Bart.

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.de.md

    r010e073 r9dbb175  
    1313  erreichst, wandern in einen eingeklappten Bereich "Nicht erreichbar" zum
    1414  Aufräumen. Alte /following- und /followers-Links leiten auf /connect um.
     15
     16### Behoben
     17- **Nackte Video/Audio-Embeds laufen nicht mehr über die Spalte hinaus.** Ein
     18  `.webm` / `.mp4` / `.mp3`-Player passt jetzt in die Inhaltsbreite wie die
     19  iframe-Embeds; die Breitenregel galt zuvor nur für `iframe`.
    1520
    1621## [1.4.0] · 2026-07-14
  • CHANGELOG.md

    r010e073 r9dbb175  
    1313  collapsed "Unreachable" section for cleanup. Old /following and /followers
    1414  links redirect to /connect.
     15
     16### Fixed
     17- **Bare video/audio embeds no longer overflow their column.** A `.webm` /
     18  `.mp4` / `.mp3` player now fits the content width like the iframe embeds do;
     19  the width rule previously covered only `iframe`.
    1520
    1621## [1.4.0] · 2026-07-14
  • CHANGELOG.nl.md

    r010e073 r9dbb175  
    1313  schuiven naar een ingeklapte "Niet bereikbaar"-sectie om op te ruimen. Oude
    1414  /following- en /followers-links leiden door naar /connect.
     15
     16### Opgelost
     17- **Kale video/audio-embeds lopen niet meer buiten de kolom.** Een `.webm` /
     18  `.mp4` / `.mp3`-speler past nu netjes in de kolombreedte, net als de
     19  iframe-embeds; de breedte-regel gold voorheen alleen voor `iframe`.
    1520
    1621## [1.4.0] · 2026-07-14
  • src/assets/css/style.css

    r010e073 r9dbb175  
    564564/* Embeds */
    565565.pcms-embed, .folio-embed { margin: 2rem 0; }
    566 .pcms-embed iframe, .folio-embed iframe { width: 100%; display: block; border: 0; border-radius: var(--radius); }
     566.pcms-embed iframe, .pcms-embed video, .pcms-embed audio,
     567.folio-embed iframe, .folio-embed video, .folio-embed audio { width: 100%; display: block; border: 0; border-radius: var(--radius); }
    567568
    568569/* Article footer */
Note: See TracChangeset for help on using the changeset viewer.