We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff187e commit e1f3e04Copy full SHA for e1f3e04
src/ResizeSensor.js
@@ -134,7 +134,7 @@
134
element.resizeSensor = document.createElement('div');
135
element.resizeSensor.dir = 'ltr';
136
element.resizeSensor.className = 'resize-sensor';
137
- var style = 'position: absolute; left: -10px; top: -10px; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;';
+ var style = 'position: absolute; left: -10px; top: -10px; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden; max-width: 100%';
138
var styleChild = 'position: absolute; left: 0; top: 0; transition: 0s;';
139
140
element.resizeSensor.style.cssText = style;
0 commit comments