View Single Post
Old 08-03-2023, 11:18 AM   #10
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,529
Karma: 240526511
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by nabsltd View Post
Sounds very familiar, although I have found that I need to actually look at the line-height values to see if I should keep them. An example is that in most readers, a larger-font for the first letter in a paragraph (initial cap) will cause the line height to expand and leave a lower margin that is too large. This can be fixed by applying line-height: 1; to the span.

But, since any value less than the actual computed line height will end up with the correct display, I have seen all values from zero to one, using both bare numbers and percentages. I couldn't come up with a regex that kept those while destroying things like line-height: 1.5;, so I fix them manually.
Yeah, I meant line-height in the body text, not special cases. Those I leave alone.
Sirtel is offline   Reply With Quote