mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-05 06:09:57 -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,7 +3,7 @@ import FileBrowser from 'react-keyed-file-browser';
|
|||
import {Button, Confirm, Header, Icon, Modal} from "semantic-ui-react";
|
||||
import 'react-keyed-file-browser/dist/react-keyed-file-browser.css';
|
||||
import {deleteFile, getFiles} from "../api";
|
||||
import {humanFileSize, secondsToDateTime} from "./Common";
|
||||
import {humanFileSize, PageContainer, secondsToDateTime} from "./Common";
|
||||
|
||||
const icons = {
|
||||
File: <Icon name='file'/>,
|
||||
|
|
@ -112,6 +112,8 @@ class Files extends React.Component {
|
|||
|
||||
export function FilesRoute(props) {
|
||||
return (
|
||||
<Files/>
|
||||
<PageContainer>
|
||||
<Files/>
|
||||
</PageContainer>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue