minor css fixes

This commit is contained in:
Torkel Ödegaard
2018-12-03 03:31:55 -08:00
parent bd89b4e6a5
commit ab33cfd7c8
3 changed files with 4 additions and 9 deletions

View File

@@ -93,7 +93,7 @@ function pluginDirectiveLoader($compile, datasourceSrv, $rootScope, $q, $http, $
PanelCtrl.templatePromise = getTemplate(PanelCtrl).then(template => { PanelCtrl.templatePromise = getTemplate(PanelCtrl).then(template => {
PanelCtrl.templateUrl = null; PanelCtrl.templateUrl = null;
PanelCtrl.template = `<grafana-panel ctrl="ctrl" class="panel-editor-container">${template}</grafana-panel>`; PanelCtrl.template = `<grafana-panel ctrl="ctrl" class="panel-height-helper">${template}</grafana-panel>`;
return componentInfo; return componentInfo;
}); });

View File

@@ -8,8 +8,7 @@
height: 100%; height: 100%;
&--edit { &--edit {
flex: 1 1 0; height: 40%;
height: unset;
margin: 0 $dashboard-padding; margin: 0 $dashboard-padding;
} }
@@ -25,7 +24,7 @@
margin-top: $panel-margin*2; margin-top: $panel-margin*2;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
height: 60%; flex: 1 1 0;
position: relative; position: relative;
} }
@@ -235,8 +234,8 @@
.gicon { .gicon {
height: 44px; height: 44px;
width: 53px; width: 53px;
transition: transform 0.1s ease;
margin-right: 5px; margin-right: 5px;
transition: transform 0.1s ease 0.1s;
&:hover { &:hover {
filter: $panel-editor-side-menu-shadow; filter: $panel-editor-side-menu-shadow;

View File

@@ -3,10 +3,6 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
&--has-submenu {
height: calc(100% - 50px);
}
} }
.template-variable { .template-variable {