Skip to content

Commit 954bd72

Browse files
committed
fix: height issue
1 parent 59d6b74 commit 954bd72

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ <h2 onclick="toggleInstructions()">
158158
try {
159159
const { default: GraphPlugin } = await import('../src/GraphPlugin.js');
160160
if (window.Yasgui && window.Yasgui.Yasr) {
161-
window.Yasgui.Yasr.registerPlugin('Graph', GraphPlugin);
161+
window.Yasgui.Yasr.registerPlugin('Graph-Dev', GraphPlugin);
162162
pluginLoaded = true;
163163
console.log('✅ Graph Plugin loaded from source (dev mode)');
164164
}

src/GraphPlugin.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ class GraphPlugin {
9191
// Create container
9292
const container = document.createElement('div');
9393
container.style.width = '100%';
94-
container.style.height = '100%';
95-
container.style.minHeight = '600px';
94+
container.style.height = '600px';
9695
container.style.position = 'relative';
9796
container.style.overflow = 'hidden';
9897
this.yasr.resultsEl.appendChild(container);

0 commit comments

Comments
 (0)