GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Scrolling is not working using the sphinx_rtd_theme in devpi-web · Issue #1105 · devpi/devpi Open DescriptionHello, While discussing in #1104 we concluded that the iframe is facing issues with scrolling. to resolved the issue. (with a bit of extra to make the test work) A bit of extra feedback from Copilot: Proposed FixSolution 1: Change overflow-y: hidden to overflow-y: visible (Minimal Change)File: devpi_web/static/docview.js function onIFrameLoad(event) { } overflow-y: visible allows content to overflow naturally, enabling the ResizeObserver to measure the true content height Solution 2: Remove Auto-Resize, Use Flexbox Layout (Better UX)For a more robust solution, consider simplifying the approach: File: devpi_web/templates/+doc.pt (or equivalent) <style> body { display: flex; flex-direction: column; min-height: 100vh; } .header { flex-shrink: 0; } .iframe { flex: 1; /* Grows to fill available space */ overflow: auto; } iframe#devpi-doc { width: 100%; height: 100%; } footer { flex-shrink: 0; } </style>File: devpi_web/static/docview.js // Simplify or remove the complex auto-resize logic More reliable (no complex JavaScript height calculations) Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |