mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-12 12:04:16 +00:00
check with mobile
mode for login layour
This commit is contained in:
parent
53f5695ff3
commit
c9aec03b32
@ -1,10 +1,11 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
import * as antd from "antd"
|
import * as antd from "antd"
|
||||||
|
import classnames from "classnames"
|
||||||
|
|
||||||
import { Drawer, Sidedrawer } from "components/Layout"
|
import { Drawer, Sidedrawer } from "components/Layout"
|
||||||
|
|
||||||
export default (props) => {
|
export default (props) => {
|
||||||
return <antd.Layout className="app_layout" style={{ height: "100%" }}>
|
return <antd.Layout className={classnames("app_layout", { ["mobile"]: window.isMobile })} style={{ height: "100%" }}>
|
||||||
<Drawer />
|
<Drawer />
|
||||||
<Sidedrawer />
|
<Sidedrawer />
|
||||||
<div id="transitionLayer" className="fade-transverse-active">
|
<div id="transitionLayer" className="fade-transverse-active">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user