Skip to content

fix(themes): cap website column at narrow widths (#8814) - #8815

Merged
Alkarex merged 1 commit into
FreshRSS:edgefrom
polybjorn:fix/mobile-website-column-width
May 11, 2026
Merged

Alkarex merged 1 commit into
FreshRSS:edgefrom
polybjorn:fix/mobile-website-column-width

Conversation

@polybjorn

@polybjorn polybjorn commented May 11, 2026 •

Copy link
Copy Markdown
Contributor

#8801 removed two narrow @media rules that had previously forced icon-only behavior at mobile widths, so users with topline_website = name or full would actually see the feed name on phones. With those rules gone, the .item.website column inherited the wide-width defaults (200px for full, 150px for name), squashing the article title into a few characters of ellipsis (#8814).

Re-introduce a narrow-width cap for the name-bearing modes:

.flux_header.websitename .item.website,
.flux_header.websitefull .item.website {
	width: clamp(120px, 18vw, 150px);
}

clamp(120px, 18vw, 150px) keeps a 120px floor on phones (favicon plus a readable name), scales with viewport across the 667-833px range, and caps at 150px to match the wide-width websitename default. The column shrinks rather than grows as the viewport narrows across the 840px breakpoint, and the title regains the bulk of the row.

Screenshots

Zoom Before After
175% scale175-original scale175
150% scale150-original scale150
100% scale100-original scale100

Test plan

  • Phone at 100%, 150%, 175% browser zoom: title gets most of the row, feed name visible and ellipsised when long
  • topline_website = icon still shows favicon-only at 40px
  • topline_website = name and full both render correctly
  • Wide viewports (>840px) unaffected

FreshRSS#8801 dropped the unconditional 40px cap on .item.website at narrow widths so users with topline_website set to name/full would actually see the feed name on mobile. With the default 'full' mode, the column then inherited the 200px wide-width default, squashing the article title (FreshRSS#8814).

Re-introduce a cap for the name-bearing modes: max-width 30vw with width auto, so the favicon and name shrink to fit the viewport without overrunning the title cell.
@polybjorn
polybjorn marked this pull request as ready for review May 11, 2026 17:58
@Alkarex Alkarex added UI 🎨 User Interfaces Bug (confirmed) 🐞 issues that are reproducible labels May 11, 2026
@Alkarex Alkarex added this to the 1.30.0 milestone May 11, 2026
@Alkarex
Alkarex merged commit af6a500 into FreshRSS:edge May 11, 2026
1 check passed
@polybjorn
polybjorn deleted the fix/mobile-website-column-width branch May 11, 2026 18:16
@Alkarex Alkarex modified the milestones: 1.30.0, 1.29.1 May 14, 2026
@Alkarex Alkarex linked an issue May 14, 2026 that may be closed by this pull request
Alkarex pushed a commit that referenced this pull request May 15, 2026
Reverts #8801 (keeping its incidental blank-line cleanups) and #8815, restoring icon-only feed column on mobile (#8814).

I filed the original PR thinking the icon-only behavior was an inconsistency bug versus the configurable `topline_website` setting, not realizing it was a deliberate mobile choice. The `clamp()` cap helped, but the column still takes space the title could use, and on phones icon-only is the better tradeoff.

A distinct narrow-viewport setting for `topline_website` was raised as a future improvement.

* Revert "fix(themes): cap website column at narrow when feed name is shown (#8815)"

This reverts commit af6a500.

* Revert "fix(themes): show feed name at narrow widths when configured (#8801)"

This reverts commit 9ff4aec.

---------

Co-authored-by: FreshRSS Pi <freshrss-pi@localhost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug (confirmed) 🐞 issues that are reproducible UI 🎨 User Interfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression in UI: feed title is too large in mobile view

2 participants