Skip to content

Commit 5440804

Browse files
bulletfactorytorkelo
authored andcommitted
add new grabber icon and tweak styles to better fit space (grafana#7019)
1 parent 1c8865e commit 5440804

File tree

7 files changed

+7
-3
lines changed

7 files changed

+7
-3
lines changed

public/app/features/panel/panel_directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ module.directive('grafanaPanel', function($rootScope) {
190190
module.directive('panelResizer', function($rootScope) {
191191
return {
192192
restrict: 'E',
193-
template: '<span class="resize-panel-handle fa fa-signal"></span>',
193+
template: '<span class="resize-panel-handle icon-gf icon-gf-grabber"></span>',
194194
link: function(scope, elem) {
195195
var resizing = false;
196196
var lastPanel;

public/fonts/grafana-icons.eot

220 Bytes
Binary file not shown.

public/fonts/grafana-icons.svg

Lines changed: 1 addition & 0 deletions
Loading

public/fonts/grafana-icons.ttf

220 Bytes
Binary file not shown.

public/fonts/grafana-icons.woff

220 Bytes
Binary file not shown.

public/sass/base/_grafana_icons.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@
143143
.icon-gf-bulk_action:before {
144144
content: "\e61c";
145145
}
146+
.icon-gf-grabber:before {
147+
content: "\e90b";
148+
}
146149
.icon-gf-users:before {
147150
content: "\e622";
148151
}

public/sass/pages/_dashboard.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,17 +231,17 @@ div.flot-text {
231231
.resize-panel-handle {
232232
cursor: nwse-resize;
233233
position: absolute;
234+
font-size: 10px;
234235
bottom: 0;
235236
right: 0;
236237
width: 15px;
237238
height: 15px;
238239
display: block;
239240
color: $text-color-faint;
240-
overflow: hidden;
241241

242242
&:before {
243243
left: initial;
244-
right: -5px;
244+
right: -1px;
245245
bottom: 0px;
246246
position: absolute;
247247
}

0 commit comments

Comments
 (0)