Skip to content

Conversation

@marcustyphoon
Copy link
Collaborator

@marcustyphoon marcustyphoon commented Nov 10, 2025

Description

This increases the specificity of a few of the Panorama selectors using !important so it's resilient against future Tumblr changes that could use an extra feature-flag-specific class.

There are lots of ways to do this (put one of the keyToCss selectors twice, [class], :not(.invalid-selector-for-specificity), etc). Not sure which is best. We could extract a variable const extraSpecificity = 'whatever' which I have done on some other dev branches; I feel like a short variable name would be more elegant there but I don't have one.

Testing steps

Perform the tests from #1291. (I didn't do endless-scrolling-off or patio, but like, close enough, right)

@marcustyphoon marcustyphoon requested review from AprilSylph and removed request for AprilSylph November 10, 2025 12:00
@marcustyphoon marcustyphoon changed the title chore(Panorama): Slightly increase CSS specificity for future compatibility chore(Panorama): Increase some CSS specificity for future compatibility Nov 12, 2025
@marcustyphoon marcustyphoon merged commit fd2a639 into AprilSylph:master Nov 12, 2025
2 checks passed
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