diff --git a/ui/src/app/components/dashboard.scss b/ui/src/app/components/dashboard.scss index bfbb3ead4f..22c83eb2f2 100644 --- a/ui/src/app/components/dashboard.scss +++ b/ui/src/app/components/dashboard.scss @@ -24,30 +24,34 @@ div.tb-widget { transition: all .2s ease-in-out; - .tb-widget-header{ - display: flex; - align-items: start; - justify-content: space-between; - } - .tb-widget-title { - display: block; - max-height: 75px; + max-height: 60px; padding-top: 5px; padding-left: 5px; overflow: hidden; - text-overflow: ellipsis; tb-timewindow { font-size: 14px; opacity: .85; } + + .title{ + width: 100%; + overflow: hidden; + text-overflow: ellipsis; + } } .tb-widget-actions { z-index: 19; margin: 0; + &-absolute{ + position: absolute; + top: 8px; + right: 8px; + } + .md-button.md-icon-button { width: 32px; min-width: 32px; diff --git a/ui/src/app/components/dashboard.tpl.html b/ui/src/app/components/dashboard.tpl.html index 7be57240b9..9bbc131c4d 100644 --- a/ui/src/app/components/dashboard.tpl.html +++ b/ui/src/app/components/dashboard.tpl.html @@ -44,13 +44,14 @@ ng-click="vm.widgetClicked($event, widget)" tb-contextmenu="vm.openWidgetContextMenu($event, widget, $mdOpenMousepointMenu)" ng-style="vm.widgetStyle(widget)"> -