diff --git a/ui/src/app/components/dashboard.scss b/ui/src/app/components/dashboard.scss index afc1d5934c..bfbb3ead4f 100644 --- a/ui/src/app/components/dashboard.scss +++ b/ui/src/app/components/dashboard.scss @@ -24,12 +24,19 @@ div.tb-widget { transition: all .2s ease-in-out; - .tb-widget-title { - max-height: 60px; + .tb-widget-header{ + display: flex; + align-items: start; + justify-content: space-between; + } + .tb-widget-title { + display: block; + max-height: 75px; padding-top: 5px; padding-left: 5px; overflow: hidden; + text-overflow: ellipsis; tb-timewindow { font-size: 14px; @@ -38,9 +45,6 @@ div.tb-widget { } .tb-widget-actions { - position: absolute; - top: 8px; - right: 8px; z-index: 19; margin: 0; diff --git a/ui/src/app/components/dashboard.tpl.html b/ui/src/app/components/dashboard.tpl.html index cb45a52561..7be57240b9 100644 --- a/ui/src/app/components/dashboard.tpl.html +++ b/ui/src/app/components/dashboard.tpl.html @@ -44,66 +44,68 @@ ng-click="vm.widgetClicked($event, widget)" tb-contextmenu="vm.openWidgetContextMenu($event, widget, $mdOpenMousepointMenu)" ng-style="vm.widgetStyle(widget)"> -
-