Commit e31490ac by Torkel Ödegaard

fix for panel embedding. Solo panel height was not correctly set. Made…

fix for panel embedding. Solo panel height was not correctly set. Made panel--solo into panel-solo class. in develop branch we have remove the need for the panel class
parent 0c855fb9
<div class="panel panel--solo" ng-if="panel" style="width: 100%"> <div class="panel-solo" ng-if="panel">
<plugin-component type="panel"> <plugin-component type="panel">
</plugin-component> </plugin-component>
</div> </div>
<div class="clearfix"></div>
...@@ -199,7 +199,6 @@ small, ...@@ -199,7 +199,6 @@ small,
mark, mark,
.mark { .mark {
padding: 0.2em;
background: $alert-warning-bg; background: $alert-warning-bg;
} }
......
...@@ -19,16 +19,23 @@ div.flot-text { ...@@ -19,16 +19,23 @@ div.flot-text {
.panel { .panel {
height: 100%; height: 100%;
}
&--solo { .panel-solo {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
right: 0; right: 0;
margin: 0; margin: 0;
.panel-container { left: 0;
border: none; top: 0;
z-index: $zindex-sidemenu + 1;
} .panel-container {
border: none;
}
.panel-menu-toggle,
.panel-menu {
display: none;
} }
} }
......
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