Repository navigation
Fix Mark as read button left edge in Origine on mobile - #9441
Merged
Alkarex merged 1 commit intoOct 15, 2026
Merged
Conversation
At max-width 840px the text button is hidden and only the dropdown toggle is shown. Origine restores its left border and radius with a rule that used `#nav_menu_read_all .btn` until #9205 turned the ID into a class. `.nav_menu_read_all .btn` is now weaker than the generic `.stick .btn + .dropdown > .btn` and `.group .dropdown:last-child > .btn` rules, so the toggle lost its left border and rounded left corners. Use the same selector as the other themes. Closes #9428
Alkarex
approved these changes
Oct 15, 2026
Member
|
Thanks! |
Alkarex
pushed a commit
that referenced
this pull request
Oct 15, 2026
Adds HawkForge to CREDITS.md, as requested in #9441.
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.
Closes #9428
Thanks @andris155 for the report and the screenshots (Origine theme).
The first screenshot (wide screen, "Mark as read" text button) is the case already fixed on
edgeby #9426, which is not in 1.30.1. The second screenshot (narrow screen, only the ✓ toggle) is still broken onedge, and this PR fixes it.Changes proposed in this pull request:
.read_alltext button and only the dropdown toggle (✓) is shown. Origine has a rule in its@media (max-width: 840px)block that gives this toggle its left border and rounded corners back. Before Follow-up #9169 remove form IDs everywhere #9205 the rule was#nav_menu_read_all .btn(specificity 1,1,0), which beat the generic button-group rules. Follow-up #9169 remove form IDs everywhere #9205 changed it to.nav_menu_read_all .btn(0,2,0). That is now weaker than.stick .btn + .dropdown > .btnand.group .dropdown:last-child > .btn(both 0,4,0), which setborder-left: noneandborder-radius: 0 3px 3px 0. The hidden.read_allbutton is still in the DOM, so.btn + .dropdownstill matches..nav_menu .stick .mark-read-menu .dropdown-toggle.btn, the selector that Alternative-Dark, Dark, Flat, Nord, Pafat, Ansum and Mapco already use for the same toggle. The declarations are unchanged.origine.rtl.csswas regenerated withnpm run rtlcss. No other file changed.How to test the feature manually:
Pull request checklist:
Notes on verification: I could not take a screenshot or run a browser. To check the change, I built the
nav_menu.phtmlmarkup for the mark-read group as a DOM (nav.nav_menu > div.nav_menu_read_all.group.stick > form.mark-read-menu > button.read_all.btn + div#nav_menu_read.dropdown > input[type=hidden], div.dropdown-target, a.dropdown-toggle.btn, …). A small script matched every theme's CSS (basefrss.cssplus each theme's files frommetadata.json) against it and resolved the cascade for the left border and left radii, for wide and narrow (max-width 840px) layouts, in LTR and RTL.border-left: noneandborder-radius: 0 3px 3px 0from line 263 oforigine.css.border-radius: 3pxfrom the mobile rule.origine.cssand keeps its ownborder-leftcolour, because its rule has the same selector and comes later..read_allbutton and the narrow toggle.npm run stylelintpasses.