Comments (3)
Set $govuk-font-family to a different font stack before importing govuk-frontend to override the font stack
from coronavirus-dashboard.
I've moved the font stack declaration from the body tag to the govuk-frontend variable, but this has shown up a couple of places where the govuk classes haven't been used on the text.
To make it more obvious, I changed the govuk font to an unreadable one,
-$govuk-font-family: "GDS Transport", Arial, sans-serif;
+$govuk-font-family: "Webdings";
So now, I'm going to fix any element that's still 'readable', to make sure the correct govuk classes have been applied. It looks like the BigNumber
and PageTitle
components are the culprits.
from coronavirus-dashboard.
It looks like the charts' tooltips are also 'unstyled' by this change.
from coronavirus-dashboard.
Related Issues (20)
- Back button seems broken on Whats New page
- No weekly data available for vaccinations HOT 2
- Naming inconsistencies HOT 1
- Query Question HOT 2
- Total numbers of vaccinated people is not displayed correctly on some mobile devices
- Inconsistent Behaviour in CSV download for daily deaths with covid 19 on the death certificate HOT 3
- Export results to JSON on metric docs (by metric name) doesn't work
- Metrics for 3rd dose / boosters not appearing in download list for MSOAs on downloads page
- Banner layout problems in Firefox at certain zoom levels
- Error 500 when collecting MSOA level rolling rate data via axios and api endpoint within nodejs code
- About the data page - L3 headings not to be included in contents table HOT 1
- About the data page - change page header to 'About' HOT 1
- Cases definition to include multiple infection episodes from 31 January 2022 HOT 1
- The example code in URL encoding section is missing a comma
- A bug occurs when running the example code in format section
- Error in screenreader text HOT 1
- Overview Data for United Kingdom is Not Working HOT 3
- Deaths page not displaying correct count for Deaths with COVID-19 on the death certificate HOT 1
- Pagination does not work HOT 3
- Invalid HTTPS certificate HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coronavirus-dashboard.