Tobias Jeger pushed to branch feature/cmng-psp1 at cms-community / hippo-addon-channel-manager
Commits: 3c6a82d8 by Tobias Jeger at 2016-04-05T10:20:04+02:00 CHANNELMGR-554: reset min-height of empty containers to 'unset' if not set previously. - - - - - 1 changed file: - frontend-ng/src/angularjs/channel/hippoIframe/overlay/overlayElement.controller.js Changes: ===================================== frontend-ng/src/angularjs/channel/hippoIframe/overlay/overlayElement.controller.js ===================================== --- a/frontend-ng/src/angularjs/channel/hippoIframe/overlay/overlayElement.controller.js +++ b/frontend-ng/src/angularjs/channel/hippoIframe/overlay/overlayElement.controller.js @@ -42,7 +42,7 @@ export class OverlayElementCtrl { } // Set a minimal height of the element to ensure visibility / clickability. - const originalMinHeight = boxJQueryElement[0].style.minHeight || 'auto'; + const originalMinHeight = boxJQueryElement[0].style.minHeight || 'unset'; this._setMinHeightSafely(boxJQueryElement[0], MIN_HEIGHT); $scope.$on('$destroy', () => { View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/3c6a82d8796e01b8bbbfe2be2530caa81a2f5317
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn