Making WordPress.org

Changeset 15247


Ignore:
Timestamp:
09/30/2026 08:46:28 PM (6 weeks ago)
Author:
obenland
Message:

Planet: Keep syndicated entry content inside the column

Props softglaze, timse201, valani9099.
Closes ​https://github.com/WordPress/wordpress.org/pull/850.
Fixes #8419.

Location:
sites/trunk/wordpress.org/public_html/style
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/wp4-rtl.css

    r15175 r15247  
    234234        max-width: 100%;
    235235        height: auto;
     236}
     237
     238/*
     239 * Syndicated entries can arrive with pixel widths baked into the markup by the
     240 * source site, for example the 560px email column that newsletter plugins put on
     241 * separators. `.wrapper img` above is constrained for the same reason; these are
     242 * the other elements that turn up with a hardcoded width and push the page
     243 * sideways on narrow screens.
     244 * See https://meta.trac.wordpress.org/ticket/8419
     245 */
     246.wrapper .entry hr,
     247.wrapper .entry table,
     248.wrapper .entry iframe,
     249.wrapper .entry video,
     250.wrapper .entry embed,
     251.wrapper .entry object {
     252        max-width: 100%;
    236253}
    237254
  • sites/trunk/wordpress.org/public_html/style/wp4.css

    r15175 r15247  
    234234        max-width: 100%;
    235235        height: auto;
     236}
     237
     238/*
     239 * Syndicated entries can arrive with pixel widths baked into the markup by the
     240 * source site, for example the 560px email column that newsletter plugins put on
     241 * separators. `.wrapper img` above is constrained for the same reason; these are
     242 * the other elements that turn up with a hardcoded width and push the page
     243 * sideways on narrow screens.
     244 * See https://meta.trac.wordpress.org/ticket/8419
     245 */
     246.wrapper .entry hr,
     247.wrapper .entry table,
     248.wrapper .entry iframe,
     249.wrapper .entry video,
     250.wrapper .entry embed,
     251.wrapper .entry object {
     252        max-width: 100%;
    236253}
    237254
Note: See TracChangeset for help on using the changeset viewer.