From 23d2271d636d668d49b11f1088aa8d57359fe5a9 Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Tue, 2 Jul 2019 13:10:36 +0300 Subject: [PATCH] Bugs/show action button (#1826) --- ui/src/app/components/dashboard.scss | 6 +++--- ui/src/app/components/dashboard.tpl.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/app/components/dashboard.scss b/ui/src/app/components/dashboard.scss index 22c83eb2f2..1da0fcb693 100644 --- a/ui/src/app/components/dashboard.scss +++ b/ui/src/app/components/dashboard.scss @@ -25,7 +25,7 @@ div.tb-widget { transition: all .2s ease-in-out; .tb-widget-title { - max-height: 60px; + max-height: 65px; padding-top: 5px; padding-left: 5px; overflow: hidden; @@ -44,11 +44,11 @@ div.tb-widget { .tb-widget-actions { z-index: 19; - margin: 0; + margin: 5px 0 0; &-absolute{ position: absolute; - top: 8px; + top: 3px; right: 8px; } diff --git a/ui/src/app/components/dashboard.tpl.html b/ui/src/app/components/dashboard.tpl.html index 9bbc131c4d..6687058216 100644 --- a/ui/src/app/components/dashboard.tpl.html +++ b/ui/src/app/components/dashboard.tpl.html @@ -51,7 +51,7 @@
+ ng-class="{'tb-widget-actions-absolute': !(vm.showWidgetTitlePanel(widget)&&(vm.hasWidgetTitleTemplate(widget)||vm.showWidgetTitle(widget)||vm.hasAggregation(widget)))}">