Make left sidebar and right column fill full viewport height with scrollable regions#230
Make left sidebar and right column fill full viewport height with scrollable regions#230
Conversation
…to to aside Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
blt-leaf | eab99de | Commit Preview URL Branch Preview URL |
Mar 01 2026, 10:59 PM |
|
@copilot it doesn't seem to work the list still goes past the table and not fixed to the left with a scroll please fix |
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
The previous fix was incomplete — Fixed in commit |
|
@copilot this looks good however I'd like the right side to scroll all the way down so have the left sidebar take up the whole height of the page and the right side to take up the whole hight of the page too attach the footer to the right side |
…l viewport height Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Done in commit
The sidebar no longer overlaps or spills past the content, and the footer stays attached to the right side rather than spanning the full page width at the bottom. |
|
@copilot make the footer on the right not be sticky so it's only seen when we scroll the right all the way down |
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Done in commit |
There was a problem hiding this comment.
Pull request overview
This pull request restructures the page layout to create a full-viewport-height application with independently scrollable regions. The changes transform the traditional document-style layout into a modern application layout where the left sidebar and right content area each fill the full viewport height and scroll independently.
Changes:
- Modified body element to use fixed viewport height (
h-screen) instead of minimum height, withoverflow-hiddento create distinct scrollable regions - Added independent scrolling to the sidebar on desktop viewports for long repository lists
- Relocated footer from page-bottom to right-column-bottom by wrapping main and footer in a new flex container
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -534,7 +535,39 @@ <h3 class="text-xl font-semibold text-slate-900 dark:text-slate-100">No PRs Adde | |||
| tracking</p> | |||
| </div> | |||
| </div> | |||
| <!-- Footer --> | |||
| <footer class="border-t border-slate-200 bg-white dark:border-slate-700 dark:bg-slate-800 -mx-4 sm:-mx-6 mt-6"> | |||
| <div class="mx-auto max-w-7xl px-4 py-6 sm:px-6 lg:px-8"> | |||
There was a problem hiding this comment.
The indentation is inconsistent for the wrapper div and its children. The main element (line 508) and footer element (line 540) should be indented more than their parent div element (line 507), as they are child elements. While this doesn't affect functionality, consistent indentation improves code readability and maintainability.
|
@copilot make the scrollbar adjustable horizontally and have it start out at a fixed with that works for the repo cards also style the scroll to be hidden unless scrolling and have it be a thin red bar |
…dentation Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Done in commit
|
|
@copilot also make the header for the table right above the buttons sticky when you scroll down on the right side |
…g down Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Done in commit |
|
solves #291 |
Restructures the page layout so both the left sidebar and right content area fill the full viewport height, each scrolling independently, with the footer scrolling with the right column content. Also adds a resizable sidebar, custom styled scrollbars, and a sticky table header.
Changes Made
min-h-screentoh-screen overflow-hiddenso the page is exactly viewport-height, giving all child flex items a fixed height ceiling to scroll within<aside>): Addedmd:overflow-y-autoso the repository list scrolls independently when it overflows, without pushing the page taller. The sidebar is now horizontally resizable via a drag handle — defaults to 288px, resizable between 160px and 640px, with the width persisted inlocalStorage<main>in a newflex flex-col flex-1 min-h-0div so the right side fills the full remaining height<main>as the last element, so it scrolls with the PR list content and is only visible when the user scrolls to the bottom of the right columnsticky top-0 z-10to the<thead>element so the column headers remain visible at the top of the right panel as the user scrolls through the PR listThe resulting layout:
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.