Using PageContainer to handle responsive margin for mobile. All pages have more padding on desktop than on mobile.

This commit is contained in:
Roland 2022-01-31 09:32:06 -07:00
parent 069cd3a402
commit 723d9863bf
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
9 changed files with 110 additions and 84 deletions

View file

@ -5,7 +5,7 @@ import Paginator, {
DEFAULT_LIMIT,
defaultSearchOrder,
defaultVideoOrder,
humanFileSize,
humanFileSize, PageContainer,
Progresses,
scrollToTop,
searchOrders,
@ -512,7 +512,7 @@ export function VideosRoute(props) {
];
return (
<>
<PageContainer>
<TabLinks links={links}/>
<Route path='/videos' exact
@ -545,7 +545,7 @@ export function VideosRoute(props) {
}
/>
<Route path='/videos/channel/:channel_link/video' exact component={Videos}/>
</>
</PageContainer>
)
}