Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary dir-dependent CSS rules, and simplify som findbar-button rules (PR 11077 follow-up) #12845

Merged
merged 1 commit into from
Jan 10, 2021

Conversation

Snuffleupagus
Copy link
Collaborator

With the updated default viewer UI, some dir-dependent CSS rules are now redundant since identical rules are being specified for both LTR and RTL mode; after PR #12807 landed I've found even more of these cases.

Note in particular that the findbar-button rules can be simplified quite a bit, since there's a fair amount of unnecessary duplication in the CSS.

…r-button rules (PR 11077 follow-up)

With the updated default viewer UI, some `dir`-dependent CSS rules are now redundant since *identical* rules are being specified for both LTR and RTL mode; after PR 12807 landed I've found even more of these cases.

Note in particular that the findbar-button rules can be simplified quite a bit, since there's a fair amount of unnecessary duplication in the CSS.
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 1

Live output at: http://54.67.70.0:8877/82898082cd6bef8/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/82898082cd6bef8/output.txt

Total script time: 4.03 mins

Published

@timvandermeij timvandermeij merged commit f224a0e into mozilla:master Jan 10, 2021
@timvandermeij
Copy link
Contributor

Thank you for simplifying this even more!

@Snuffleupagus Snuffleupagus deleted the cleanup-more-CSS-dir branch January 10, 2021 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants