mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-08 12:34:49 +00:00
Adjust styling of download results
This commit is contained in:
parent
cb18bb9cd7
commit
43756ec8b6
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user