Skip to content

Commit 05ff795

Browse files
authored
Merge pull request #516 from mathuo/447-feature-request-adding-a-gap-around-panels
feat: correct contain size
2 parents 70014a8 + 5c945e9 commit 05ff795

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/dockview-core/src/gridview/baseComponentGridview.ts

+2
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ export abstract class BaseGrid<T extends IGridPanelView>
141141

142142
constructor(options: BaseGridOptions) {
143143
super(document.createElement('div'), options.disableAutoResizing);
144+
this.element.style.height = '100%';
145+
this.element.style.width = '100%';
144146

145147
options.parentElement.appendChild(this.element);
146148

0 commit comments

Comments
 (0)