Mark Lenser pushed to branch feature/visual-editing-psp1-CHANNELMGR-843 at cms-community / hippo-addon-channel-manager
Commits: 8fc32ec0 by Mark at 2016-10-14T10:32:55+02:00 CHANNELMGR-843: temporary code for demo - big side panel - - - - - 2 changed files: - frontend-ng/src/angularjs/channel/sidePanels/sidePanel.service.js - frontend-ng/src/styles/_side-panel.scss Changes: ===================================== frontend-ng/src/angularjs/channel/sidePanels/sidePanel.service.js ===================================== --- a/frontend-ng/src/angularjs/channel/sidePanels/sidePanel.service.js +++ b/frontend-ng/src/angularjs/channel/sidePanels/sidePanel.service.js @@ -45,7 +45,11 @@ export class ChannelSidePanelService { open(side) { if (!this.isOpen(side)) { this.$mdSidenav(this.panels[side].element).open(); - this.ScalingService.setPushWidth(side, this.panels[side].jQueryElement.width()); + let sidePanelWidth = this.panels[side].jQueryElement.width(); + if (side === 'right') { + sidePanelWidth = 450; + } + this.ScalingService.setPushWidth(side, sidePanelWidth); } } ===================================== frontend-ng/src/styles/_side-panel.scss ===================================== --- a/frontend-ng/src/styles/_side-panel.scss +++ b/frontend-ng/src/styles/_side-panel.scss @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +md-sidenav { + height: 100%; +} + .md-button.md-icon-button.md-icon-button-left-side-panel { padding-left: 0; margin-left: 0; @@ -22,6 +26,8 @@ } .channel-right-side-panel { border-left: 1px solid rgba(0, 0, 0, 0.12); + max-width: 450px !important; + width: 450px !important; } .list-item-active { View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/8fc32ec0be710b1035023091f5bae94d1528585e
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn