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

[Firefox] Strikethrough is placed a little above text #3156

Closed
vmishenev opened this issue Sep 1, 2023 · 2 comments · Fixed by #3436
Closed

[Firefox] Strikethrough is placed a little above text #3156

vmishenev opened this issue Sep 1, 2023 · 2 comments · Fixed by #3436
Assignees
Labels
bug format: html An issue/PR related to Dokka's default HTML output format html: frontend An issue/PR that only or primarily requires frontend work (html/css)

Comments

@vmishenev
Copy link
Member

vmishenev commented Sep 1, 2023

image
Environment
Dokka 1.9.0
Firefox

@vmishenev vmishenev added bug format: html An issue/PR related to Dokka's default HTML output format labels Sep 1, 2023
@IgnatBeresnev
Copy link
Member

Cannot reproduce it with Chrome or Safari, but can reproduce it with Firefox, so seems quite specific.

Firefox 116.0.3

2023-09-01_17-21-44

Chrome 115.0.5790.170

2023-09-01_17-22-59

Safari 16.5.2

safari

If you don't mind, I'll rename the issue slightly to be like #2314, otherwise it looks way too scary when you first see the title :)

@IgnatBeresnev IgnatBeresnev changed the title [FRONTEND] Strikethrough is placed a little above text [Firefox] Strikethrough is placed a little above text Sep 1, 2023
@IgnatBeresnev IgnatBeresnev added the html: frontend An issue/PR that only or primarily requires frontend work (html/css) label Oct 20, 2023
@IgnatBeresnev IgnatBeresnev added this to the Dokka 2.0.0 milestone Dec 11, 2023
@berezinant
Copy link
Contributor

berezinant commented Dec 18, 2023

Seems like this is a JetBrains Sans font peculiarity in firefox. For example:
JetBains Sans (has issue)
JetBrainsSans

JetBrains Mono (no issue)
jetbrains mono

system-ui (no issue)
system-ui

Different combinations of line-height/font-size/font-weight do nothing with it, so I'm currently not sure if there any chance to influence the issue other than changing the font or altering its source file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug format: html An issue/PR related to Dokka's default HTML output format html: frontend An issue/PR that only or primarily requires frontend work (html/css)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants