Skip to content

content: Bold spans aren't bolder than surrounding text in spoiler headers or h1/h2/etc. #705

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

Closed
chrisbobbe opened this issue May 24, 2024 · 1 comment · Fixed by #706
Closed
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents

Comments

@chrisbobbe
Copy link
Collaborator

Bold spans should be bolder than surrounding text, even when that surrounding text is bold because it's in a spoiler header or an h1/h2/etc. (or column headings in tables, with #360).

Current Better
75927CB2-41BB-415B-9530-CE418DBB9368 445F7D01-3E38-4A19-B5CD-7746474655D5

In fact, in the spoiler header, the bold text is less bold. That's because, following web, we hard-code bold spans to weight 600 but spoiler headers to weight 700.

@chrisbobbe chrisbobbe added the a-content Parsing and rendering Zulip HTML content, notably message contents label May 24, 2024
@chrisbobbe
Copy link
Collaborator Author

In fact, web also fails with this. Here are the same messages screenshotted on web:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant