Commit 490b8fc5 by Alexander Zobnin

panels: add css tweaks for scrollable panels

parent 126f3703
......@@ -22,7 +22,9 @@ var panelTemplate = `
<div class="panel-content">
<div gemini-scrollbar ng-if="ctrl.scrollable">
<ng-transclude></ng-transclude>
<div class="panel-content--scrollable">
<ng-transclude></ng-transclude>
</div>
</div>
<ng-transclude ng-if="!ctrl.scrollable"></ng-transclude>
</div>
......
......@@ -7,12 +7,6 @@
margin-bottom: $spacer;
}
.dashlist {
// Add space for scrollbar
margin-right: 6px;
margin-left: 4px;
}
.dashlist-link {
display: block;
margin: 5px;
......@@ -31,5 +25,3 @@
background-color: $tight-form-func-bg;
}
}
......@@ -39,6 +39,12 @@ div.flot-text {
.panel-content {
padding: 0px 10px 5px 10px;
height: 100%;
&--scrollable {
// Add space for scrollbar
padding-right: 10px;
padding-left: 6px;
}
}
.panel-title-container {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment