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.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;
});

View File

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

View File

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