Skip to content

Commit caaeb8e

Browse files
committed
Added move row up and down arrows
1 parent c6757be commit caaeb8e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

public/app/features/dashboard/row/row.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
<i class="fa fa-cog" ng-hide="ctrl.dropView===2"></i>
2323
<i class="fa fa-remove" ng-show="ctrl.dropView===2"></i>
2424
</a>
25+
<a class="pointer dash-row-header-actions--tight" bs-tooltip="'Move row up'">
26+
<i class="fa fa-arrow-up"></i>
27+
</a>
28+
<a class="pointer dash-row-header-actions--tight" bs-tooltip="'Move row down'">
29+
<i class="fa fa-arrow-down"></i>
30+
</a>
2531
</div>
2632
</div>
2733

public/sass/components/_row.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@
6565
}
6666
}
6767

68+
a.dash-row-header-actions--tight {
69+
padding-left: 1px;
70+
padding-right: 1px;
71+
}
72+
6873
.dash-row-header-add-panel {
6974
padding: 0.7rem;
7075
i {
@@ -121,7 +126,7 @@
121126
border-bottom: 1px solid $dark-4;
122127
width: 15px;
123128
position: absolute;
124-
margin: 0 0 0 -12px;
129+
margin: 0 0 0 -6px;
125130
bottom: 0;
126131
}
127132
.add-row-panel-hint {

0 commit comments

Comments
 (0)