mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 13:19:58 -05:00
Using PageContainer to handle responsive margin for mobile. All pages have more padding on desktop than on mobile.
This commit is contained in:
parent
069cd3a402
commit
723d9863bf
9 changed files with 110 additions and 84 deletions
|
|
@ -3,6 +3,7 @@ import {Card, Confirm, Container, Icon, Image, Placeholder} from "semantic-ui-re
|
|||
import Paginator, {
|
||||
ClearButton,
|
||||
ExternalLink,
|
||||
PageContainer,
|
||||
SearchInput,
|
||||
TabLinks,
|
||||
textEllipsis,
|
||||
|
|
@ -321,10 +322,10 @@ export function ArchiveRoute(props) {
|
|||
{text: 'Domains', to: '/archive/domains'},
|
||||
{text: 'Manage', to: '/archive/manage'},
|
||||
];
|
||||
return <>
|
||||
return <PageContainer>
|
||||
<TabLinks links={links}/>
|
||||
<Route path='/archive' exact component={Archives}/>
|
||||
<Route path='/archive/domains' component={Domains}/>
|
||||
<Route path='/archive/manage' component={ManageArchives}/>
|
||||
</>
|
||||
</PageContainer>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue