Repository navigation
Wrap the reader view article subtitle on narrow screens - #9369
Conversation
In the reader view, the feed name, authors and date share one horizontal-list row whose items are `flex: 0 0 auto` and whose date is a fixed 155px wide. The row could neither wrap nor shrink, so a long feed name or author list pushed the date past the article box, and on a phone the whole page scrolled sideways. Let the row wrap and let its items shrink, so a long feed name is ellipsized and the authors wrap inside the box. On narrow screens the date then sits on its own line, so drop its fixed width there. Rows that already fit are laid out as before. Closes FreshRSS#9360
|
Thanks! Would you be able to help by testing all the themes? |
Thanks for merging. I tested the reader view on edge (e7cbb59) under all 11 bundled themes, at 375px and 1280px, with a long feed name and a long author list:
OK means the feed/author/date line stays inside the article box and the page does not scroll sideways. At 375px the date sits on one line in every theme. I also checked RTL (Hebrew, Origine, frss.rtl.css): same result. One thing I noticed that this PR did not change: at desktop width the date still has the fixed 155px box, so a long date such as "28 September 2026 at 18:30" breaks into two lines. The CSS from before this PR does the same. I can send a small follow-up for that if you want it. |
Ok, please do (along with screenshots) |
Follow-up to #9369, as discussed in #9369 (comment) Changes proposed in this pull request: - In the reader view, the date in the line under the article title had a fixed `width: 155px`. A long date such as "28 September 2026 at 18:30" needs about 190px, so at desktop width it broke into two lines. This was already the case before #9369. - `.content .subtitle.horizontal-list .item.date` now uses the 155px as `min-width` and has `white-space: nowrap`, so the box grows to fit the date and the date stays on one line. - Short dates are unchanged: they keep the 155px box and the same position. - If the feed name, authors and date do not fit on one row, the date moves to the next line as a whole (the `flex-wrap` from #9369), instead of breaking in the middle. - In the `max-width: 840px` block the date is reset to `min-width: 0; white-space: normal`, so nothing can overflow on very narrow screens. The phone layout from #9369 is unchanged. - `frss.rtl.css` was regenerated with `rtlcss`.
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [freshrss/freshrss](https://freshrss.org/) ([source](https://github.com/FreshRSS/FreshRSS)) | patch | `1.30.0-alpine` → `1.30.1-alpine` | --- ### Release Notes <details> <summary>FreshRSS/FreshRSS (freshrss/freshrss)</summary> ### [`v1.30.1`](https://github.com/FreshRSS/FreshRSS/blob/HEAD/CHANGELOG.md#2026-10-05-FreshRSS-1301) [Compare Source](FreshRSS/FreshRSS@1.30.0...1.30.1) - Deployment - Reword recommendations and explanations for *edge* (rolling release) vs. *latest* (versioned release) channels [#​9270](FreshRSS/FreshRSS#9270) - Security - Config + increase default values for search max length and depth [#​9280](FreshRSS/FreshRSS#9280) - Accept a trusted proxy address given without a subnet [#​9301](FreshRSS/FreshRSS#9301) - Warn during session regenerate fail [#​9311](FreshRSS/FreshRSS#9311), [#​9376](FreshRSS/FreshRSS#9376) - CI/CD add zizmor workflow for action security checks [#​9228](FreshRSS/FreshRSS#9228), [#​9331](FreshRSS/FreshRSS#9331) - Use PHP `#[\SensitiveParameter]` [#​9322](FreshRSS/FreshRSS#9322) - Reject token access (RSS/OPML export, feed refresh) for disabled accounts [#​9336](FreshRSS/FreshRSS#9336) - Require POST+CSRF for self-update mutations [#​9335](FreshRSS/FreshRSS#9335) - Make the login challenge nonce one-time [#​9334](FreshRSS/FreshRSS#9334) - Bound ZIP import against decompression bombs [#​9332](FreshRSS/FreshRSS#9332) - Rotate session ID on all authenticated transitions [#​9333](FreshRSS/FreshRSS#9333) - Minz: Remove vulnerable and unused code path for displaying errors [#​9395](FreshRSS/FreshRSS#9395) - Fix NAT64 feed fetching on IPv6-only hosts [#​9372](FreshRSS/FreshRSS#9372) - Bug fixes - Fix domain-wide `Retry-After` [#​9390](FreshRSS/FreshRSS#9390) - Fix muting of feeds gone with HTTP 410 [#​9391](FreshRSS/FreshRSS#9391) - Fix infinite redirect loop due to `SCRIPT_NAME` in `PATH_INFO` [#​9282](FreshRSS/FreshRSS#9282), [#​9287](FreshRSS/FreshRSS#9287) - Restore the automatic reading view after marking articles as read, while preserving explicit filters [#​9288](FreshRSS/FreshRSS#9288) - Fix adaptive reading state after marking articles read [#​9290](FreshRSS/FreshRSS#9290) - Fix regression sharing links [#​9303](FreshRSS/FreshRSS#9303) - Don’t disable anonymous refresh when anonymous feed access is disabled [#​9354](FreshRSS/FreshRSS#9354) - Fix regression with HTTPS proxies due to wrong TLS SNI resolution [#​9341](FreshRSS/FreshRSS#9341) - Better enforce limits for feeds and categories [#​9357](FreshRSS/FreshRSS#9357) - Fix JavaScript error when opening a label menu in sidebar [#​9377](FreshRSS/FreshRSS#9377) - Fix custom favicon with GReader API [#​9409](FreshRSS/FreshRSS#9409) - CLI - Add optional feed argument to `actualize-user.php` [#​9319](FreshRSS/FreshRSS#9319) - UI - Various UI and style improvements [#​9298](FreshRSS/FreshRSS#9298), [#​9369](FreshRSS/FreshRSS#9369), [#​9388](FreshRSS/FreshRSS#9388) - Extensions - Call `check_url_before_add` hook when previewing a feed [#​9343](FreshRSS/FreshRSS#9343) - I18n - Add Belarusian [#​9351](FreshRSS/FreshRSS#9351) - Improve German [#​9370](FreshRSS/FreshRSS#9370), [#​9385](FreshRSS/FreshRSS#9385) - Improve Italian [#​9370](FreshRSS/FreshRSS#9370) - Improve Japanese [#​9398](FreshRSS/FreshRSS#9398) - Improve Turkish [#​9349](FreshRSS/FreshRSS#9349) - Misc. - Check SVG optimization in the tests CI workflow with SVGO [#​9361](FreshRSS/FreshRSS#9361) - Move PHPUnit flags to a config file and use strictest failure mode [#​9374](FreshRSS/FreshRSS#9374) - Avoid writing to log files during unit tests [#​9373](FreshRSS/FreshRSS#9373) - Bump Ruby gems automatically with Dependabot for docs [#​9401](FreshRSS/FreshRSS#9401) - Update dev dependencies [#​9323](FreshRSS/FreshRSS#9323), [#​9324](FreshRSS/FreshRSS#9324), [#​9325](FreshRSS/FreshRSS#9325), [#​9326](FreshRSS/FreshRSS#9326), [#​9327](FreshRSS/FreshRSS#9327), [#​9328](FreshRSS/FreshRSS#9328), [#​9368](FreshRSS/FreshRSS#9368), [#​9378](FreshRSS/FreshRSS#9378), [#​9379](FreshRSS/FreshRSS#9379), [#​9380](FreshRSS/FreshRSS#9380), [#​9381](FreshRSS/FreshRSS#9381), [#​9402](FreshRSS/FreshRSS#9402), [#​9403](FreshRSS/FreshRSS#9403), [#​9404](FreshRSS/FreshRSS#9404), [#​9405](FreshRSS/FreshRSS#9405), [#​9406](FreshRSS/FreshRSS#9406), [#​9407](FreshRSS/FreshRSS#9407) </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 CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzMuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.greyrock.io/todd/home-ops/pulls/358



Closes #9360
Changes proposed in this pull request:
.horizontal-listflex row whose items areflex: 0 0 auto, and the date is a fixed155px. The row could neither wrap nor shrink, so a long feed name or author list pushed the date out of the article box. On a 375px-wide screen the page became 1110px wide and scrolled sideways. It also happened on desktop with a long enough header: 1450px page width in a 1280px window..content .subtitle.horizontal-listnow wraps (flex-wrap: wrap), and its items may shrink (flex-shrink: 1; min-width: 0). The feed name is ellipsized by its existingtext-overflow: ellipsis, and the authors wrap inside the box.max-width: 840pxblock, the date drops its fixed width (width: auto; text-align: left), so on its own line it no longer breaks into two lines.frss.rtl.csswas regenerated withrtlcss(the date rule becomestext-align: rightthere), and my name is added toCREDITS.md.How to test the feature manually:
Pull request checklist:
Tested on a local FreshRSS (PHP 8.3 built-in server, SQLite, default Origine theme) at 375px and 1280px.
stylelintandmarkdownlintpass, andrtlcssleaves no diff beyondfrss.rtl.css.