mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix drag and drop visualization reorder
This commit is contained in:
parent
bb304db6a2
commit
295768ed1f
2 changed files with 3 additions and 12 deletions
|
|
@ -34,7 +34,6 @@
|
|||
color: #3071a9;
|
||||
float: left;
|
||||
margin-top: 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.heliumPackageList .heliumPackageName span {
|
||||
|
|
@ -73,20 +72,12 @@
|
|||
float: left;
|
||||
}
|
||||
|
||||
.heliumVisualizationOrder .as-sortable-item-handle {
|
||||
.sortable-row .as-sortable-item-handle {
|
||||
width: 35px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.heliumVisualizationOrder .sortable-row:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.heliumVisualizationOrder .as-sortable-item svg {
|
||||
.sortable-row .as-sortable-item svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,10 +22,10 @@ limitations under the License.
|
|||
</div>
|
||||
<div ng-show="visualizationOrder.length > 1"
|
||||
class="row heliumVisualizationOrder">
|
||||
<div style="margin:0 0 5px 15px">Visualization package display order (drag and drop to reorder)</div>
|
||||
<div class="col-md-12 sortable-row btn-group"
|
||||
as-sortable="visualizationOrderListeners"
|
||||
data-ng-model="visualizationOrder">
|
||||
<div style="margin-bottom:5px">Visualization package display order (drag and drop to reorder)</div>
|
||||
<div class="btn-group" data-ng-repeat="pkgName in visualizationOrder"
|
||||
as-sortable-item>
|
||||
<div class="btn btn-default btn-sm"
|
||||
|
|
|
|||
Loading…
Reference in a new issue