fix(frontend): left-align the Video page like the other pages#97
Merged
Conversation
The Video route widens #app to the full viewport so the live frame can fill it; with `margin: 0 auto` that left the container centered in the full width. Drop the auto margins so it sits beside the sidebar at the left edge, matching the data pages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Left-align the Video page so it sits beside the sidebar like the other pages, instead of floating centered in the middle of the screen.
Problem
The Video route widens
#appto the full viewport (so the live frame isn't a thin strip — see #96). The Video page's.page-containerstill usedmargin: 0 auto, which centered its capped (max-width 1600px) content in that full width, leaving a large gap on the left between it and the sidebar. The data pages don't show this because#appshrink-wraps to their content on their routes.Solution
Drop the auto side-margins on the Video page's
.page-containerso it left-aligns at the content area's left edge, matching the data pages. Width, max-width, and the centered title are unchanged.