aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-04-25 14:14:16 +0200
committerZog2018-04-25 14:14:16 +0200
commit51dd60a015c48eab783cb61d0201be110ec4df45 (patch)
tree3589df4f0ba2b651cb5fd861337c66930de9ac0c
parent94406e685f252451b87fc7f8aa4445761858c9fd (diff)
downloadchouette-core-51dd60a015c48eab783cb61d0201be110ec4df45.tar.bz2
Refs #6486; Change the `font-display` property6486-fix-font-display
Force the browser to wait for the fonts to be loaded, to prevent a wrong cells size calculation by the JS.
-rw-r--r--app/assets/stylesheets/_layout.sass1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/stylesheets/_layout.sass b/app/assets/stylesheets/_layout.sass
index 340467e77..f11bcb717 100644
--- a/app/assets/stylesheets/_layout.sass
+++ b/app/assets/stylesheets/_layout.sass
@@ -15,6 +15,7 @@ body
line-height: $line-height
color: $darkgrey
background-color: #fff
+ font-display: block
.page_header
padding: 40px 35px 0 35px