Skip to content

Trending Now 1.1.2

Choose a tag to compare

@ivanmorales ivanmorales released this 07 Aug 16:58
· 77 commits to main since this release

Styling fix for sites where the widget did not match the intended layout — bullet points reappearing and the thumbnail sitting below the headline instead of beside it.

Two separate causes, both about the cascade rather than the CSS being missing.

Inheritance. list-style: none was set on the <ul> only. That value inherits down to each <li>, and an inherited value loses to any direct declaration on the element — even a generic li { list-style: disc } at specificity (0,0,1). It is now set on the list items themselves, with ::marker { content: none } behind it.

Specificity. The structural rules were written at (0,2,0), which an everyday theme selector such as .entry-content ul li (0,2,1) outranks. Losing display: flex is precisely what drops the image onto its own line. Selectors are now compounded on the root class, and display, flex-wrap, list-style, margin and padding are marked important — this markup is injected into themes the plugin does not control.

No changes to behaviour, data or settings. Update and hard-refresh; if you run a page cache, purge it, since the stylesheet is embedded in the cached HTML.