Skip to content

Commit

Permalink
Prevents hidden element from blinking during pageload
Browse files Browse the repository at this point in the history
closes #10
  • Loading branch information
nrfulton committed Jul 22, 2016
1 parent ba9df2f commit 12c5328
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions keymaerax-webui/src/main/resources/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -526,4 +526,8 @@ table .btn{

.error {
boder-color: #FF0000;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
2 changes: 1 addition & 1 deletion keymaerax-webui/src/main/resources/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
</div>
</div>

<div class="container" ng-if="!mathematicaIsConfigured">
<div class="container" ng-if="!mathematicaIsConfigured" ng-cloak>
<div class="alert alert-warning" role="alert" id="mathematicaConfigurationAlert">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<b><i class="fa fa-exclamation-triangle"></i> Warning:</b> Mathematica is not configured.
Expand Down

0 comments on commit 12c5328

Please sign in to comment.