Thanks to visit codestin.com Credit goes to github.com
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 d59bdab commit 3e672c9Copy full SHA for 3e672c9
src/gridstack.js
@@ -291,9 +291,9 @@
291
for (var i = self._styles._max; i < max_height; ++i) {
292
var css;
293
css = '.' + self.opts._class + ' .' + self.opts.item_class + '[data-gs-height="' + (i + 1) + '"] { height: ' + (self.opts.cell_height * (i + 1) + self.opts.vertical_margin * i) + 'px; }';
294
- self._styles.insertRule(css);
+ self._styles.insertRule(css, i);
295
css = '.' + self.opts._class + ' .' + self.opts.item_class + '[data-gs-y="' + (i) + '"] { top: ' + (self.opts.cell_height * i + self.opts.vertical_margin * i) + 'px; }';
296
297
}
298
self._styles._max = max_height;
299
0 commit comments