Merge pull request #975 from umbraco/temp-U4-7573

Fix for http://issues.umbraco.org/issue/U4-7573
This commit is contained in:
Mads Rasmussen
2015-12-23 11:11:10 +01:00
5 changed files with 22 additions and 7 deletions

View File

@@ -7,7 +7,10 @@
transclude: true,
restrict: 'E',
replace: true,
templateUrl: 'views/components/editor/umb-editor-view.html'
templateUrl: 'views/components/editor/umb-editor-view.html',
scope: {
footer: "@"
}
};
return directive;

View File

@@ -20,16 +20,20 @@
}
.umb-editor-container{
.umb-editor-container {
top: 101px;
left: 0px;
right: 0px;
bottom: 60px;
bottom: 52px;
position: absolute;
clear: both;
overflow: auto;
}
.umb-editor-wrapper.-no-footer .umb-editor-container {
bottom: 0;
}
.umb-editor-container.-stop-scrolling {
overflow: hidden;
}

View File

@@ -46,7 +46,9 @@
height: 31px;
padding: 10px;
margin: 0;
background: #ffffff;
background: @grayLighter;
border-top: 1px solid @grayLight;
}
.umb-overlay .umb-overlay-drawer .umb-overlay-drawer-content {
@@ -114,7 +116,7 @@
top: 100px;
left: 0;
right: 0;
bottom: 51px;
bottom: 52px;
padding: 20px;
}

View File

@@ -7,7 +7,9 @@
class="umb-dashboard"
val-form-manager>
<umb-editor-view umb-tabs>
<umb-editor-view
footer="false"
umb-tabs>
<umb-editor-header
name="dashboard.name"

View File

@@ -1,3 +1,7 @@
<div class="umb-panel umb-editor-wrapper animated -half-second fadeIn" ng-transclude>
<div class="umb-panel umb-editor-wrapper animated -half-second fadeIn"
ng-class="{
'-no-footer': footer === 'false'
}"
ng-transclude>
</div>