We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f217d9 commit 101db01Copy full SHA for 101db01
1 file changed
public/javascripts/DV/helpers/construction.js
@@ -67,7 +67,9 @@ DV._.extend(DV.Schema.helpers, {
67
}
68
69
if (options.responsive) {
70
- DV.jQuery(options.container).css({
+ var container = DV.jQuery(options.container);
71
+ this.viewer.options.sidebarVisible = (container.width() - 2) >= this.viewer.helpers.RESPONSIVE_MIN_SIDEBAR_WIDTH;
72
+ container.css({
73
position: 'relative',
74
height: options.height
75
});
0 commit comments