Skip to content

Fix network graph height to be viewport-responsive instead of fixed 750px#2582

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-network-graph-height
Draft

Fix network graph height to be viewport-responsive instead of fixed 750px#2582
Copilot wants to merge 2 commits intomainfrom
copilot/fix-network-graph-height

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 30, 2026

The pyvis Network in the web UI report was hardcoded to 750px height, causing overflow on small screens and wasted space on large ones. Width was already responsive (100%).

Change

  • maigret/report.py: Replace fixed height="750px" with height="100vh" so the graph fills the full viewport height.
# Before
nt = Network(notebook=True, height="750px", width="100%")

# After
nt = Network(notebook=True, height="100vh", width="100%")

Copilot AI changed the title [WIP] Fix network graph height to adapt to viewport Fix network graph height to be viewport-responsive instead of fixed 750px Apr 30, 2026
Copilot AI requested a review from soxoj April 30, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Network graph height is fixed at 750px in web UI, should adapt to viewport

2 participants