You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
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().
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.The text was updated successfully, but these errors were encountered: