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

🐛 fix ref commas appearing in gdoc articles when paragraph text is between them #3675

Merged
merged 1 commit into from
May 31, 2024

Conversation

ikesau
Copy link
Member

@ikesau ikesau commented May 31, 2024

the innerText separating these two footnote spans wasn't interrupting the sibling selector that I added in #3670

image

image

This PR puts all span-simple-text spans inside actual span elements to interrupt the CSS sibling selector.
image
image

I've checked Chrome, Firefox, and Safari, as well as Grapher and Grapher exports because they also use this renderer in the dod footnotes.

@ikesau ikesau requested a review from rakyi May 31, 2024 20:44
@owidbot
Copy link
Contributor

owidbot commented May 31, 2024

Quick links (staging server):

Site Admin Wizard

Login: ssh owid@staging-site-ref-commas-fix

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2024-05-31 20:54:02 UTC
Execution time: 1.20 seconds

@ikesau ikesau merged commit bc19dbc into master May 31, 2024
28 checks passed
@ikesau ikesau deleted the ref-commas-fix branch May 31, 2024 21:05
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