Skip to content

Commit

Permalink
Changed font on splash screen:
Browse files Browse the repository at this point in the history
- Motivation: splash screen is shown directly on page load, which means that the chosen typography (Roboto) has not been loaded yet. That means that our splash screen will first show its text with some default, already available font, before loading of Roboto has completed, and then it will re-render using Roboto. This leads to some ugly flickering which can be avoided if we exclude the splash screen from using Roboto.
  • Loading branch information
jacobwod committed Jul 1, 2021
1 parent fd2d53d commit 2ca04fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new-client/public/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body {
}

.app-start {
font-family: Helvetica, sans-serif;
font-family: Helvetica, Arial, sans-serif;
position: absolute;
top: 0;
bottom: 0;
Expand Down

0 comments on commit 2ca04fb

Please sign in to comment.