Repository navigation
fix(themes): cap website column at narrow widths (#8814) - #8815
Merged
Merged
Conversation
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
marked this pull request as ready for review
May 11, 2026 17:58
4 tasks done
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#8801 removed two narrow @media rules that had previously forced icon-only behavior at mobile widths, so users with
topline_website = nameorfullwould actually see the feed name on phones. With those rules gone, the.item.websitecolumn inherited the wide-width defaults (200px forfull, 150px forname), squashing the article title into a few characters of ellipsis (#8814).Re-introduce a narrow-width cap for the name-bearing modes:
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-widthwebsitenamedefault. The column shrinks rather than grows as the viewport narrows across the 840px breakpoint, and the title regains the bulk of the row.Screenshots
Test plan
topline_website = iconstill shows favicon-only at 40pxtopline_website = nameandfullboth render correctly