Skip to content

Commit

Permalink
Merge pull request #35 from adamaziz15/bug/555-untranslated-content
Browse files Browse the repository at this point in the history
[MNOE-555] Fix FOUC using translate-cloak
  • Loading branch information
alexnoox authored Jul 21, 2017
2 parents 4329950 + 7e7c27e commit d617793
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/app/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
body {
background: #f3f3f3;
font-family: inherit;
&.translate-cloak {
opacity: 0;
}
}

a {
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<link rel="stylesheet" href="index.css"/>
<!-- endbuild -->
</head>
<body>
<body translate-cloak>
<!--[if lt IE 10]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
Expand Down

0 comments on commit d617793

Please sign in to comment.