mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +03:00
Merge pull request #2100 from TanukiSharp/master
Changed full page sizing to 100% instead of compute fixed size (issue #2099)
This commit is contained in:
commit
2d890fb7a1
@ -1041,8 +1041,8 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
||||
$.addClass( this.element, 'fullpage' );
|
||||
body.appendChild( this.element );
|
||||
|
||||
this.element.style.height = $.getWindowSize().y + 'px';
|
||||
this.element.style.width = $.getWindowSize().x + 'px';
|
||||
this.element.style.height = '100vh';
|
||||
this.element.style.width = '100vw';
|
||||
|
||||
if ( this.toolbar && this.toolbar.element ) {
|
||||
this.element.style.height = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user