Add footer with legal links to editor using Primer CSS#16538
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR adds a footer to the gh-aw Playground editor that matches the documentation site footer, providing attribution to GitHub Next and Microsoft Research along with legal links.
Changes:
- Added a semantic footer element with attribution and legal links (Terms, Privacy, Security) using Primer CSS classes
- Changed main container from
height: 100vhtomin-height: 100vhto accommodate the footer - Implemented responsive design with flexbox wrapping for mobile compatibility
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| </head> | ||
| <body class="color-bg-default color-fg-default"> | ||
| <div class="d-flex flex-column" style="height: 100vh; width: 100vw;" id="app"> | ||
| <div class="d-flex flex-column" style="min-height: 100vh; width: 100vw;" id="app"> |
There was a problem hiding this comment.
The change from height: 100vh to min-height: 100vh will not work correctly with the current CSS. The html, body styles at line 13-16 set overflow: hidden, which will prevent scrolling and cut off the footer.
To fix this issue, you need to update the body overflow behavior to allow scrolling when content exceeds the viewport height. Consider changing overflow: hidden to overflow: auto on the body element, or restructure the layout so the footer is positioned within the viewport constraints.
| <div class="d-flex flex-column" style="min-height: 100vh; width: 100vw;" id="app"> | |
| <div class="d-flex flex-column" style="height: 100vh; width: 100vw;" id="app"> |
Adds footer to the gh-aw Playground editor matching the documentation site footer.
Changes
height: 100vhtomin-height: 100vhto accommodate footerd-flex,flex-column,color-fg-muted,Link--primary/secondary, responsive wrappingImplementation
Screenshots
Desktop:

Light/Dark modes:

Mobile:

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.