diff --git a/core/modules/toolbar/css/toolbar.module.css b/core/modules/toolbar/css/toolbar.module.css index b6b7c4a..ba67b89 100644 --- a/core/modules/toolbar/css/toolbar.module.css +++ b/core/modules/toolbar/css/toolbar.module.css @@ -14,6 +14,7 @@ line-height: 1; margin: 0; padding: 0; + position: static; vertical-align: baseline; } @media print { diff --git a/core/modules/toolbar/js/models/ToolbarModel.js b/core/modules/toolbar/js/models/ToolbarModel.js index 38d9dab..0b6ec48 100644 --- a/core/modules/toolbar/js/models/ToolbarModel.js +++ b/core/modules/toolbar/js/models/ToolbarModel.js @@ -22,9 +22,7 @@ * @prop activeTab * @prop activeTray * @prop isOriented - * @prop isFixed * @prop areSubtreesLoaded - * @prop isViewportOverflowConstrained * @prop orientation * @prop locked * @prop isTrayToggleVisible @@ -67,15 +65,6 @@ areSubtreesLoaded: false, /** - * If the viewport overflow becomes constrained, isFixed must be true so - * that elements in the trays aren't lost off-screen and impossible to - * get to. - * - * @type {bool} - */ - isViewportOverflowConstrained: false, - - /** * The orientation of the active tray. * * @type {string} diff --git a/core/modules/toolbar/js/views/BodyVisualView.js b/core/modules/toolbar/js/views/BodyVisualView.js index 9eb5210..a0466ea 100644 --- a/core/modules/toolbar/js/views/BodyVisualView.js +++ b/core/modules/toolbar/js/views/BodyVisualView.js @@ -17,7 +17,7 @@ * @augments Backbone.View */ initialize: function () { - this.listenTo(this.model, 'change:orientation change:offsets change:activeTray change:isOriented change:isFixed change:isViewportOverflowConstrained', this.render); + this.listenTo(this.model, 'change:orientation change:offsets change:activeTray change:isOriented change:isFixed', this.render); }, /** @@ -27,7 +27,6 @@ var $body = $('body'); var orientation = this.model.get('orientation'); var isOriented = this.model.get('isOriented'); - var isViewportOverflowConstrained = this.model.get('isViewportOverflowConstrained'); $body // We are using JavaScript to control media-query handling for two