Skip to content

fix(themes): drop topline_website value from <li> class to avoid filter collision - #8800

Merged
Alkarex merged 1 commit into
FreshRSS:edgefrom
polybjorn:fix/entry-header-icon-class-collision
May 10, 2026
Merged

Alkarex merged 1 commit into
FreshRSS:edgefrom
polybjorn:fix/entry-header-icon-class-collision

Conversation

@polybjorn

@polybjorn polybjorn commented May 10, 2026 •

Copy link
Copy Markdown
Contributor

On Nord and Dark with topline-website set to "Icon only", article-list favicons render filtered (tinted on Nord, darkened on Dark). The article body shows them correctly.

The <li> in entry_header.phtml is rendered with the topline value as a literal class: <li class="item website <?= $topline_website ?>">. With value icon, the result collides with the bare .icon filter rules in Nord and Dark, which cascade onto the favicon inside.

The class is unused. No theme CSS targets .website.icon, .website.name, or .website.full. Layout uses the parent <ul>'s concatenated form (.websiteicon, .websitename). Dropping it fixes the bug with no loss of information.

Latent since #4969 (2023-03-04).

Reproduce

  1. Set theme to Nord or Dark.
  2. Display settings: set "Topline website" to "Icon only".
  3. Open the article list. Favicons render with a color filter on every entry.

Screenshots

Nord (broken) Dark (broken) After fix
Screenshot 2026-05-10 at 09 55 18 Screenshot 2026-05-10 at 09 56 49 Screenshot 2026-05-10 at 01 26 55

…er collision

When topline_website is "icon", the <li> renders class="item website
icon". Bare .icon rules in Nord and Dark apply a filter that cascades
onto the favicon <img> inside, so article-list favicons render tinted
in icon-only mode. No theme CSS targets the unprefixed value; layout
modes are driven from the parent <ul> (.websiteicon, .websitename).
@polybjorn polybjorn changed the title fix(views): drop topline_website value from <li> class fix(themes): drop topline_website value from <li> class to avoid filter collision May 10, 2026
@polybjorn
polybjorn force-pushed the fix/entry-header-icon-class-collision branch from fd17757 to feaa263 Compare May 10, 2026 07:25
@polybjorn
polybjorn marked this pull request as ready for review May 10, 2026 07:28
@Alkarex Alkarex added this to the 1.29.0 milestone May 10, 2026
@Alkarex Alkarex added the UI 🎨 User Interfaces label May 10, 2026
@Alkarex Alkarex modified the milestones: 1.29.0, 1.30.0 May 10, 2026
@Alkarex
Alkarex merged commit b83c8b4 into FreshRSS:edge May 10, 2026
1 check passed
@polybjorn
polybjorn deleted the fix/entry-header-icon-class-collision branch May 10, 2026 14:51
@Alkarex Alkarex modified the milestones: 1.30.0, 1.29.1 May 14, 2026
doonga pushed a commit to greyrock-labs/home-ops that referenced this pull request May 20, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [freshrss/freshrss](https://freshrss.org/) ([source](https://github.com/FreshRSS/FreshRSS)) | patch | `1.29.0-alpine` → `1.29.1-alpine` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/34) for more information.

---

### Release Notes

<details>
<summary>FreshRSS/FreshRSS (freshrss/freshrss)</summary>

### [`v1.29.1`](https://github.com/FreshRSS/FreshRSS/blob/HEAD/CHANGELOG.md#2026-05-20-FreshRSS-1291)

[Compare Source](FreshRSS/FreshRSS@1.29.0...1.29.1)

- Features
  - Accept `.txt` import of feed URLs in additional to e.g. OPML [#&#8203;8818](FreshRSS/FreshRSS#8818), [#&#8203;8837](FreshRSS/FreshRSS#8837)
  - New CLI for automatic periodic SQLite export with retention [#&#8203;8819](FreshRSS/FreshRSS#8819)
  - More feed info: last received date, publication date [#&#8203;8799](FreshRSS/FreshRSS#8799)
- Bug fixing
  - Fix cookies with some browsers [#&#8203;8867](FreshRSS/FreshRSS#8867)
  - Fix search in shared user queries with empty results [#&#8203;8863](FreshRSS/FreshRSS#8863)
  - Fix XML errors with loading invalid OPML in `lib_opml` library [#&#8203;8652](FreshRSS/FreshRSS#8652), [#&#8203;8853](FreshRSS/FreshRSS#8853),
    [lib\_opml#48](https://framagit.org/marienfressinaud/lib_opml/-/merge_requests/48), [lib\_opml#51](https://framagit.org/marienfressinaud/lib_opml/-/merge_requests/51)
  - Fix ensure maximum number of feeds also with Dynamic OPML [#&#8203;8832](FreshRSS/FreshRSS#8832)
  - Fix click mark as read [#&#8203;8817](FreshRSS/FreshRSS#8817)
- UI
  - Improve browser compatibility to keep mobile navigation at the bottom [#&#8203;8833](FreshRSS/FreshRSS#8833)
  - Improve support of older/simpler Web browsers/engines such as SeaMonkey [#&#8203;8810](FreshRSS/FreshRSS#8810),
    [#&#8203;8811](FreshRSS/FreshRSS#8811), [#&#8203;8813](FreshRSS/FreshRSS#8813),
  - Improve *Swage* theme [#&#8203;8842](FreshRSS/FreshRSS#8842)
  - Rename *Nord theme* to *Nord* [#&#8203;8805](FreshRSS/FreshRSS#8805)
  - Replace GIF spinner by CSS spinner [#&#8203;8804](FreshRSS/FreshRSS#8804), [#&#8203;8812](FreshRSS/FreshRSS#8812)
  - Various UI and style improvements: [#&#8203;8800](FreshRSS/FreshRSS#8800), [#&#8203;8816](FreshRSS/FreshRSS#8816),
- I18n
  - Improve Brazilian Portuguese [#&#8203;8846](FreshRSS/FreshRSS#8846)
  - Improve Dutch [#&#8203;8868](FreshRSS/FreshRSS#8868)
  - Improve German [#&#8203;8840](FreshRSS/FreshRSS#8840)
  - Improve Polish [#&#8203;8854](FreshRSS/FreshRSS#8854)
  - Improve Russian [#&#8203;8861](FreshRSS/FreshRSS#8861)
  - Improve Traditional Chinese [#&#8203;8849](FreshRSS/FreshRSS#8849)
- Misc.
  - Update dev dependencies [#&#8203;8858](FreshRSS/FreshRSS#8858), [#&#8203;8864](FreshRSS/FreshRSS#8864)

</details>

---

### Configuration

📅 **Schedule**: (in timezone America/New_York)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xODIuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE4Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19-->

Reviewed-on: https://git.greyrock.io/greyrock-labs/home-ops/pulls/88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Theme 🖌 UI 🎨 User Interfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants