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
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue