Adjust styling of download results

This commit is contained in:
Kane York 2015-08-03 15:19:31 -07:00
parent cb18bb9cd7
commit 43756ec8b6
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ const QueryResultComponent = Ember.Component.extend({
// Create a frame to submit the form in (?)
// to avoid leaving an about:blank behind
let windowName = randomIdShort();
const newWindowContents = "<body>Click anywhere to close this window once the download finishes.<script>window.onclick=function(){window.close()};</script>";
const newWindowContents = "<style>body{font-size:36px;display:flex;justify-content:center;align-items:center;}</style><body>Click anywhere to close this window once the download finishes.<script>window.onclick=function(){window.close()};</script>";
let newWindow = window.open('data:text/html;base64,' + btoa(newWindowContents), windowName);