Improve UI effect

This commit is contained in:
Yang Luo
2023-04-10 00:55:43 +08:00
parent 2e01f0d10e
commit ebe8ad8669
3 changed files with 93 additions and 60 deletions

View File

@ -629,7 +629,7 @@ class App extends Component {
}
</Header>
<Content style={{display: "flex", flexDirection: "column"}} >
{Setting.isMobile() ?
{(Setting.isMobile() || window.location.pathname === "/chat") ?
this.renderRouter() :
<Card className="content-warp-card">
{this.renderRouter()}