fix(Viewer): use relative position on view container
This commit is contained in:
parent
d328454f68
commit
a029c1528c
|
@ -42,7 +42,7 @@ function Viewer(options) {
|
||||||
var parent = options.container || $('body');
|
var parent = options.container || $('body');
|
||||||
|
|
||||||
var container = $('<div></div>').addClass('bjs-container').css({
|
var container = $('<div></div>').addClass('bjs-container').css({
|
||||||
position: 'absolute'
|
position: 'relative'
|
||||||
}).appendTo(parent);
|
}).appendTo(parent);
|
||||||
|
|
||||||
_.forEach([ 'width', 'height' ], function(a) {
|
_.forEach([ 'width', 'height' ], function(a) {
|
||||||
|
|
Loading…
Reference in New Issue