loikein / hugo-tufte

Content centric Hugo blogging theme styled with Tufte-CSS
https://hugo-tufte.netlify.app
MIT License
58 stars 13 forks source link

Misaligned fractions #15

Open aiden-huffman opened 6 months ago

aiden-huffman commented 6 months ago

What version of Hugo are you using ($ hugo version)?

hugo v0.92.2+extended linux/amd64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1

Technically, this is taken from the netlify exmaple site provided by the repo

What operating system and processor architecture are you using?

22.04.1-Ubuntu

What did you do?

Opened the netlify link on the repo

What did you expect to see?

Elements of the numerator should generally be aligned to the center of the fraction

What did you see instead?

Values in the numerator are aligned to the left

image

aiden-huffman commented 5 months ago

Can be resolved by updating root in general.scss, although this is probably the incorrect way to resolve the issue.

:root * {
      //text-align: left;
      text-rendering: optimizeLegibility;
}