mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Fix: embeds were not rendering in PhantomJS.
Include polyfill for missing ArrayView functions. Closes #1708.
This commit is contained in:
@@ -4,12 +4,17 @@ body {
|
||||
|
||||
body.headless {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
body.headless nav.app-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.headless div#footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a[ng-click] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// This polyfill is needed to support PhantomJS which we use to generate PNGs from embeds.
|
||||
import 'core-js/fn/typed/array-buffer';
|
||||
|
||||
import 'material-design-iconic-font/dist/css/material-design-iconic-font.css';
|
||||
import 'font-awesome/css/font-awesome.css';
|
||||
import 'ui-select/dist/select.css';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="t-heading p-10">
|
||||
<h3 class="th-title">
|
||||
<p>
|
||||
<img src="{{$ctrl.logoUrl}}" style="height: 24px;"/>
|
||||
<img ng-src="{{$ctrl.logoUrl}}" style="height: 24px;"/>
|
||||
{{$ctrl.query.name}}
|
||||
<small><visualization-name visualization="$ctrl.visualization"/></small>
|
||||
</p>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
"angular-ui-bootstrap": "^2.2.0",
|
||||
"angular-vs-repeat": "^1.1.7",
|
||||
"brace": "^0.9.0",
|
||||
"core-js": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz",
|
||||
"cornelius": "git+https://github.com/restorando/cornelius.git",
|
||||
"d3": "^3.5.17",
|
||||
"d3-cloud": "^1.2.1",
|
||||
|
||||
Reference in New Issue
Block a user