Fix visualization previews

This commit is contained in:
Levko Kravets 2017-11-13 21:30:26 +02:00
parent 289aa8561f
commit 1d210c774a
3 changed files with 8 additions and 4 deletions

View File

@ -12,8 +12,10 @@
</h3>
</div>
<visualization-renderer visualization="$ctrl.visualization" query-result="$ctrl.queryResult" class="t-body">
</visualization-renderer>
<div style="min-height: 400px; position: relative;">
<visualization-renderer visualization="$ctrl.visualization" query-result="$ctrl.queryResult" class="t-body">
</visualization-renderer>
</div>
<div class="bg-ace clearfix p-10">
<div class="col-sm-6">

View File

@ -255,7 +255,9 @@
</div>
</div>
<div ng-if="selectedTab == vis.id" ng-repeat="vis in query.visualizations">
<visualization-renderer visualization="vis" query-result="queryResult"></visualization-renderer>
<div style="min-height: 400px; position: relative">
<visualization-renderer visualization="vis" query-result="queryResult"></visualization-renderer>
</div>
<div class="bg-ace p-5">
<button class="btn btn-default" ng-click="openVisualizationEditor(vis)" ng-if="canEdit">Edit</button>
<button class="btn btn-default" ng-click="showEmbedDialog(query, vis)"><i class="zmdi zmdi-code"></i> Embed</button>

View File

@ -30,7 +30,7 @@
</form>
</div>
</div>
<div class="col-md-7" style="border: 1px solid #eee">
<div class="col-md-7" style="border: 1px solid #eee; min-height: 400px; position: relative;">
<visualization-renderer visualization="$ctrl.visualization" query-result="$ctrl.queryResult"></visualization-renderer>
</div>
</div>