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

First line of of any comment has different font weight #133

Open
tinfoilboy opened this issue Jun 14, 2024 · 2 comments · May be fixed by #134
Open

First line of of any comment has different font weight #133

tinfoilboy opened this issue Jun 14, 2024 · 2 comments · May be fixed by #134

Comments

@tinfoilboy
Copy link

Occurring in Chrome version 126.0.6478.62 on macOS with extension version 1.4.11. From a quick glance at dev tools, it seems that the first line of the comment is inheriting from the html.hnspecial-theme, html.hnspecial-theme body rule. Any subsequent p tag in the comment body is then styled with the html.hnspecial-theme p, html.hnspecial-theme div.comment > span:first-child rule.

Not sure if this is intended behavior. Attached is a screenshot of the issue.

image
@socketbox
Copy link

socketbox commented Jun 22, 2024

At first, I thought this was due to a change in the extension. But the changelog doesn't indicated as much and it occurred between releases. Here's a slice of DOM, fwiw:
image
Prior to the <p> element in the comtext c00 <div>, the text is bold.

Looks like an issue with font-weight:
image

@Friss Friss linked a pull request Jul 16, 2024 that will close this issue
@Friss
Copy link

Friss commented Jul 16, 2024

Opened #134 to resolve it

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 a pull request may close this issue.

3 participants