Commit ae604b62 by Torkel Ödegaard

ux(annotations): minor polish to annotations editor

parent fc8146b5
...@@ -12,10 +12,7 @@ function (angular, _, $) { ...@@ -12,10 +12,7 @@ function (angular, _, $) {
var annotationDefaults = { var annotationDefaults = {
name: '', name: '',
datasource: null, datasource: null,
showLine: true, iconColor: 'rgba(255, 96, 96, 1)',
iconColor: '#C0C6BE',
lineColor: 'rgba(255, 96, 96, 0.592157)',
iconSize: 13,
enable: true enable: true
}; };
......
...@@ -76,8 +76,8 @@ ...@@ -76,8 +76,8 @@
<div class="gf-form"> <div class="gf-form">
<label class="gf-form-label"> <label class="gf-form-label">
<span>Color</span> <span>Color</span>
<spectrum-picker ng-model="currentAnnotation.iconColor"></spectrum-picker>
</label> </label>
<spectrum-picker class="gf-form-input" ng-model="currentAnnotation.iconColor"></spectrum-picker>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
width: 15px; width: 15px;
height: 15px; height: 15px;
border: none; border: none;
margin-right: 5px; margin: 0;
float: left; float: left;
z-index: 0; z-index: 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment