Skip to content

Commit 3494f31

Browse files
authored
Merge pull request #4 from Matdata-eu/copilot/fix-graph-overflow-yasr
Fix graph container height to respect YASR flex layout
2 parents 3ca1f7a + 79b7a2a commit 3494f31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GraphPlugin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ class GraphPlugin {
8484
// Create container
8585
const container = document.createElement('div');
8686
container.style.width = '100%';
87-
container.style.height = '600px';
87+
container.style.height = '100%';
88+
container.style.minHeight = '600px';
8889
container.style.position = 'relative';
8990
container.style.overflow = 'hidden';
9091
this.yasr.resultsEl.appendChild(container);

0 commit comments

Comments
 (0)