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

"text-decoration: line-through" Line Thickness is Too Thin and Can't be Changed #60

Open
ourichermath opened this issue Aug 12, 2022 · 1 comment

Comments

@ourichermath
Copy link

ourichermath commented Aug 12, 2022

On my Forma (Software Version 4.33.19759 (5240404f16, 7/20/22)) with an epub3 source of a kepub, the thickness of the line is too thin in <del>, <s> and a custom css of:

.strike {
text-decoration: line-through;
}

It also seems that I cannot change that line thickness. I've tried various combinations of the elements in:

.strike {
text-decoration-line: line-through;
text-decoration-style: solid;
text-decoration-color: black;
text-decoration-thickness: 5px;
}

and nothing helps. If that "text-decoration-line: line-through;" line is present, the line on my Forma disappears entirely. If I revert back to "text-decoration: line-through;", none of the other options make any difference.

@ourichermath
Copy link
Author

I guess the key to changing the line thickness would be text-decoration-thickness. Unfortunately, it's css4, not css3. Still, the default strikethrough (and, it looks like, underline) line should not be rendering at an approximate 1px (i.e., darn near invisible). The problem occurs with the <del>, <s> and the deprecated <strike> as well. Since they all, apparently, are driven by text-decoration:line-through, that seems to be the problem.

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

No branches or pull requests

1 participant