From e333d61b97de46fddd911be63beffcfbc0c0ebf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 10 May 2020 17:11:51 +0200 Subject: [PATCH] OldTable: Make old table options align & look better (#24485) --- .../panel/table-old/column_options.html | 50 ++++--- .../app/plugins/panel/table-old/editor.html | 122 +++++++++--------- public/sass/components/_gf-form.scss | 3 + 3 files changed, 87 insertions(+), 88 deletions(-) diff --git a/public/app/plugins/panel/table-old/column_options.html b/public/app/plugins/panel/table-old/column_options.html index 2fb9a636161..08e8045bc12 100644 --- a/public/app/plugins/panel/table-old/column_options.html +++ b/public/app/plugins/panel/table-old/column_options.html @@ -1,13 +1,13 @@
-
+
Options
-
- +
+
-
- +
+
-
+
Type
-
- +
+
-
- +
+
-
- +
+
- +
- +
-
+
Value Mappings
@@ -190,7 +190,7 @@
-
+
Thresholds
-
- -
+ diff --git a/public/app/plugins/panel/table-old/editor.html b/public/app/plugins/panel/table-old/editor.html index 52ade842f3e..2dcc1fa8590 100644 --- a/public/app/plugins/panel/table-old/editor.html +++ b/public/app/plugins/panel/table-old/editor.html @@ -1,69 +1,67 @@ -
-
-
Data
-
- -
- -
-
-
-
- -
-
- -
-
- -
-
- -
+
+
Data
+
+ +
+
- -
-
Paging
+
- - +
-
- -
- -
+
+ +
+
+ +
+
+ +
+
+
+ +
+
Paging
+
+ + +
+
+ +
+
diff --git a/public/sass/components/_gf-form.scss b/public/sass/components/_gf-form.scss index d00ed1dd569..57afabfe5ab 100644 --- a/public/sass/components/_gf-form.scss +++ b/public/sass/components/_gf-form.scss @@ -237,6 +237,9 @@ $input-border: 1px solid $input-border-color; &--dropdown { padding-right: $space-lg; + position: relative; + display: flex; + align-items: center; &::after { position: absolute;