Skip to content

Conversation

@StephDriver
Copy link

this migrates custom styling to match the changes in openlibhums/janeway#4232

Comment on lines 15 to 16
('olh', '#content aside', '#content .side-info'),
('olh', '#content aside h3', '#content aside h2'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be mindful of having some entries as substrings of one another. In this case, we probably want to run the second string ahead of the first one, as the first string is a substring and would not allow the other one to run at all

Copy link
Author

@StephDriver StephDriver Jul 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mauromsl This is what I think is happening - where have I gone wrong?

forward migration:

('olh', '#content aside', '#content .side-info'),
('olh', '#content .side-info h3', '#content .side-info h2'),

first content aside becomes content .side-info, this means that content aside h3 is now content .side-info h3
Then content .side-info h3 becomes content .side-info h2.

for the reverse:

('olh', '#content aside', '#content .side-info'),
('olh', '#content aside h3', '#content aside h2'),

first content .side-info becomes content aside, which means content .side-info h2 is now content aside h2
then content aside h2 becomes content aside h3

@StephDriver StephDriver self-assigned this Jul 25, 2025
@StephDriver StephDriver force-pushed the a11y-structure-css-updates branch from 592953b to ec10021 Compare August 11, 2025 07:37
@StephDriver StephDriver marked this pull request as ready for review August 11, 2025 07:37
@StephDriver StephDriver requested a review from mauromsl August 11, 2025 07:37
@StephDriver StephDriver assigned mauromsl and unassigned StephDriver Aug 11, 2025
@StephDriver StephDriver marked this pull request as draft August 11, 2025 10:46
@StephDriver StephDriver assigned StephDriver and unassigned mauromsl Aug 11, 2025
@StephDriver StephDriver marked this pull request as ready for review September 8, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants