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

@ -4,6 +4,7 @@ import Container from "semantic-ui-react/dist/commonjs/elements/Container";
import {Route} from "react-router-dom";
import "../static/wrolpi.css";
import {decryptOTP, encryptOTP} from "../api";
import {PageContainer} from "./Common";
class Encrypt extends React.Component {
constructor(props) {
@ -145,10 +146,8 @@ class OTP extends React.Component {
export function AppsRoute(props) {
return (
<>
<Container fluid>
<Route path='/apps/otp' exact component={OTP}/>
</Container>
</>
<PageContainer>
<Route path='/apps/otp' exact component={OTP}/>
</PageContainer>
)
}