Skip to content

Commit 2147439

Browse files
committed
Fix placeholder not carrying base item class
1 parent befa751 commit 2147439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gridstack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export class GridStack {
298298
placeholderChild.className = 'placeholder-content';
299299
placeholderChild.innerHTML = this.opts.placeholderText;
300300
this.placeholder = document.createElement('div');
301-
this.placeholder.classList.add(this.opts.placeholderClass, this.opts.itemClass);
301+
this.placeholder.classList.add(this.opts.placeholderClass, defaults.itemClass, this.opts.itemClass);
302302
this.placeholder.appendChild(placeholderChild);
303303

304304
this._updateContainerHeight();

0 commit comments

Comments
 (0)