Repository navigation
fix(themes): show feed name at narrow widths when configured - #8801
Merged
Alkarex merged 1 commit intoMay 10, 2026
Merged
Conversation
Two narrow @media rules in base-theme/frss.css predate the configurable topline_website modes from FreshRSS#4969 and force icon-only behavior regardless of the user's Website setting; FreshRSS#8631 partially papered over this for grid-layout entries. Drop the unconditional span-hide and its grid-layout exception, and scope the 40px width cap to .websiteicon (with a comment explaining why it stays at narrow).
polybjorn
marked this pull request as ready for review
May 10, 2026 13:12
polybjorn
added a commit
to polybjorn/FreshRSS
that referenced
this pull request
May 11, 2026
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
added a commit
to polybjorn/FreshRSS
that referenced
this pull request
May 11, 2026
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
added a commit
to polybjorn/FreshRSS
that referenced
this pull request
May 11, 2026
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.
4 tasks done
Alkarex
pushed a commit
that referenced
this pull request
May 11, 2026
) #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 (#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. Co-authored-by: Bjørn A. Andersen <[email protected]>
4 tasks done
polybjorn
pushed a commit
to polybjorn/FreshRSS
that referenced
this pull request
May 15, 2026
…reshRSS#8801)" This reverts commit 9ff4aec.
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.
Problem
Settings > Displayhas aWebsitedropdown withIcon only,Name only,Icon and name, andNone. At viewports ≤840px, the feed name is hidden inName onlyandIcon and name, leaving only the favicon (or nothing). The setting is effectively ignored in narrow view.Cause: two CSS rules in
base-theme/frss.csspredate the configurable modes from #4969 and assume icon-only behavior at narrow widths. #8631 added a partial workaround that re-shows the name only when bothThumbnailandSummaryare enabled (the grid layout), so the bug only surfaces with the defaultThumbnail = none, Summary = offconfig.Reproduction
Settings > Display, setWebsitetoName onlyorIcon and nameExpected: feed name visible per the
Websitesetting. Actual: only the favicon (or nothing) renders.Fix
In
base-theme/frss.css(and the regeneratedfrss.rtl.css), inside the narrow@mediablock:.flux_header .item.website span { display: none }. Hid the name span unconditionally;Icon onlymode does not render the span at all, so the rule was dead there and harmful elsewhere..flux .flux_header.has-thumbnail.has-summary li.website .websiteName { display: inline }. The grid-layout workaround above; redundant once the underlying rule is gone..flux_header .item.website { width: 40px }to.flux_header.websiteicon. The 40px override only makes sense forIcon only.Name onlyandIcon and namenow inherit their wide-view widths (150px and 200px). A short comment notes why the override is still needed at narrow:--frss-padding-flux-itemsshrinks from 0.75rem to 0.5rem in the narrow block, so without the override the icon cell would drop from 40px to 32px.