From 7b0bbefb96456b0eef97d1e86bcb42415ee66209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 12 Dec 2017 12:02:44 +0100 Subject: [PATCH] ux: minor updates to dashboard settings --- public/app/features/dashboard/history/history.html | 2 +- public/app/features/dashboard/history/history.ts | 2 -- public/app/features/dashboard/settings/settings.html | 2 +- public/sass/components/_dashboard_settings.scss | 1 - public/sass/components/_gf-form.scss | 11 ++++++++--- public/sass/components/_query_editor.scss | 4 ++++ 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/public/app/features/dashboard/history/history.html b/public/app/features/dashboard/history/history.html index c79853e5613..48caddeb90e 100644 --- a/public/app/features/dashboard/history/history.html +++ b/public/app/features/dashboard/history/history.html @@ -1,5 +1,5 @@

- Version History + Versions > Comparing {{ctrl.baseInfo.version}} diff --git a/public/app/features/dashboard/history/history.ts b/public/app/features/dashboard/history/history.ts index b0dee045a6a..05e78d08989 100644 --- a/public/app/features/dashboard/history/history.ts +++ b/public/app/features/dashboard/history/history.ts @@ -1,5 +1,3 @@ -/// - import './history_srv'; import _ from 'lodash'; diff --git a/public/app/features/dashboard/settings/settings.html b/public/app/features/dashboard/settings/settings.html index 7de5e2dbcd1..e78dcb74127 100644 --- a/public/app/features/dashboard/settings/settings.html +++ b/public/app/features/dashboard/settings/settings.html @@ -23,7 +23,7 @@
-

+

General

diff --git a/public/sass/components/_dashboard_settings.scss b/public/sass/components/_dashboard_settings.scss index 9e307c07231..50f157a5a15 100644 --- a/public/sass/components/_dashboard_settings.scss +++ b/public/sass/components/_dashboard_settings.scss @@ -35,7 +35,6 @@ .dashboard-settings__aside-header { color: $text-muted; font-size: $font-size-h3; - margin-bottom: 20px; padding-right: 60px; white-space: nowrap; diff --git a/public/sass/components/_gf-form.scss b/public/sass/components/_gf-form.scss index 1174d307ff2..5ee712b0810 100644 --- a/public/sass/components/_gf-form.scss +++ b/public/sass/components/_gf-form.scss @@ -85,6 +85,14 @@ $input-border: 1px solid $input-border-color; } } +.gf-form-label + .gf-form-label { + margin-right: $gf-form-margin; +} + +.gf-form + .gf-form { + margin-right: $gf-form-margin; +} + .gf-form-pre { display: block; flex-grow: 1; @@ -254,9 +262,6 @@ $input-border: 1px solid $input-border-color; margin-right: $gf-form-margin; line-height: $input-line-height; font-size: $font-size-sm; - box-shadow: none; - @include border-radius($label-border-radius-sm); - border: $input-btn-border-width solid transparent; flex-shrink: 0; flex-grow: 0; diff --git a/public/sass/components/_query_editor.scss b/public/sass/components/_query_editor.scss index cd8f949ed64..66c029071b2 100644 --- a/public/sass/components/_query_editor.scss +++ b/public/sass/components/_query_editor.scss @@ -33,6 +33,10 @@ .gf-form-label { margin-right: 2px; } + + .gf-form + .gf-form { + margin-right: 0; + } } .gf-form-query-content {