For me, right-aligned columns appear as serif font, but table font should be sans-serif regardless of alignment. I noticed this when looking at the {govdown} guidance page.
Example
Screenshot from the {govdown} guidance page rendered in Chrome. The right-aligned column called 'Right' contains serif fonts. Remaining columns are sans-serif.
The screenshot below is from a locally-knitted govdown Rmd showing that it doesn't matter where the right-aligned column is.
Reproducibility
This occurs for me regardless of browser (Chrome, Safari and Firefox) on my work Mac. I've also reproduced it locally by knitting a govdown Rmd containing tables produced in
markdown format and when using knitr::kable().
Wasn't a problem in @nacnudus's setup, I believe.
Potential cause
Misbehaviour of govuk-table__cell--numeric? Inspection in browser implies sans-serif font though.
Problem
For me, right-aligned columns appear as serif font, but table font should be sans-serif regardless of alignment. I noticed this when looking at the {govdown} guidance page.
Example
Screenshot from the {govdown} guidance page rendered in Chrome. The right-aligned column called 'Right' contains serif fonts. Remaining columns are sans-serif.
The screenshot below is from a locally-knitted govdown Rmd showing that it doesn't matter where the right-aligned column is.
Reproducibility
This occurs for me regardless of browser (Chrome, Safari and Firefox) on my work Mac. I've also reproduced it locally by knitting a govdown Rmd containing tables produced in markdown format and when using
knitr::kable()
.Wasn't a problem in @nacnudus's setup, I believe.
Potential cause
Misbehaviour of
govuk-table__cell--numeric
? Inspection in browser implies sans-serif font though.