mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
Merge pull request #2105 from kravets-levko/fix/visualization-filters
Fixes related to filters panel
This commit is contained in:
commit
4a06e6266e
@ -1,10 +1,10 @@
|
||||
<div class="container bg-white p-5" ng-show="$ctrl.filters | notEmpty">
|
||||
<div class="row">
|
||||
<div class="container bg-white" ng-show="$ctrl.filters | notEmpty" style="padding: 5px;">
|
||||
<div class="row" style="margin-left: -5px; margin-right: -5px;">
|
||||
<div class="col-sm-6 m-t-5" ng-repeat="filter in $ctrl.filters">
|
||||
<label>{{filter.friendlyName}}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row" style="margin-left: -5px; margin-right: -5px;">
|
||||
<div class="col-sm-6 m-t-5" ng-repeat="filter in $ctrl.filters">
|
||||
<ui-select ng-model="filter.current" ng-if="!filter.multiple" on-select="$ctrl.filterChangeListener(filter, $model)" on-remove="$ctrl.filterChangeListener(filter, $model)"
|
||||
remove-selected="false">
|
||||
@ -31,4 +31,4 @@
|
||||
</ui-select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -56,6 +56,26 @@
|
||||
}
|
||||
|
||||
.gridster-item:not(.gridster-auto-height-enabled) {
|
||||
visualization-renderer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
|
||||
> filters {
|
||||
flex-grow: 0;
|
||||
}
|
||||
|
||||
> div {
|
||||
flex-grow: 1;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.dynamic-table-container,
|
||||
.sunburst-visualization-container,
|
||||
.sankey-visualization-container,
|
||||
.map-visualization-container,
|
||||
|
Loading…
Reference in New Issue
Block a user