mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 12:56:24 -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
|
|
@ -16,7 +16,7 @@ import {
|
|||
import {Button, Checkbox, Dropdown, Form, Grid, Header, Portal, Segment, Table} from "semantic-ui-react";
|
||||
import {Route} from "react-router-dom";
|
||||
import {toast} from 'react-semantic-toasts';
|
||||
import {arraysEqual, enumerate, replaceNullValues, TabLinks} from './Common';
|
||||
import {arraysEqual, enumerate, PageContainer, replaceNullValues, TabLinks} from './Common';
|
||||
import _ from 'lodash';
|
||||
|
||||
class InventorySummary extends React.Component {
|
||||
|
|
@ -1094,10 +1094,10 @@ export function InventoryRoute(props) {
|
|||
{text: 'Summary', to: '/inventory/summary'},
|
||||
];
|
||||
return (
|
||||
<>
|
||||
<PageContainer>
|
||||
<TabLinks links={links}/>
|
||||
<Route path='/inventory' exact component={InventoryAddList}/>
|
||||
<Route path='/inventory/summary' exact component={InventorySummary}/>
|
||||
</>
|
||||
</PageContainer>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue