mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 00:43:53 +00:00
add a limit class for router container (#3197)
This commit is contained in:
@@ -184,7 +184,7 @@ class App extends Component {
|
||||
<div id="main">
|
||||
<SidePanel isSidePanelClosed={this.state.isSidePanelClosed} onCloseSidePanel={this.onCloseSidePanel} currentTab={currentTab} tabItemClick={this.tabItemClick} draftCounts={this.state.draftCounts} />
|
||||
<MainPanel>
|
||||
<Router>
|
||||
<Router className="reach-router">
|
||||
{home}
|
||||
<FilesActivitiesWrapper path={siteRoot + 'dashboard'} onShowSidePanel={this.onShowSidePanel} onSearchedClick={this.onSearchedClick} />
|
||||
<DraftsViewWrapper path={siteRoot + 'drafts'}
|
||||
|
@@ -135,7 +135,7 @@
|
||||
}
|
||||
|
||||
/* for reach/router */
|
||||
[role=group] {
|
||||
.reach-router[role=group] {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
|
@@ -78,7 +78,7 @@ class Org extends React.Component {
|
||||
<div id="main">
|
||||
<SidePanel isSidePanelClosed={isSidePanelClosed} onCloseSidePanel={this.onCloseSidePanel} currentTab={currentTab} tabItemClick={this.tabItemClick} />
|
||||
<MainPanel currentTab={currentTab} toggleAddOrgAdmin={this.toggleAddOrgAdmin} toggleAddOrgUser={this.toggleAddOrgUser} toggleInviteUserDialog={this.toggleInviteUserDialog}>
|
||||
<Router>
|
||||
<Router className="reach-router">
|
||||
<OrgInfo path={siteRoot + 'org/orgmanage'} />
|
||||
<OrgUsers
|
||||
path={siteRoot + 'org/useradmin'}
|
||||
|
@@ -41,7 +41,7 @@ class SysAdmin extends React.Component {
|
||||
<div id="main">
|
||||
<SidePanel isSidePanelClosed={isSidePanelClosed} onCloseSidePanel={this.onCloseSidePanel} />
|
||||
<MainPanel>
|
||||
<Router>
|
||||
<Router className="reach-router">
|
||||
<FileScanRecords
|
||||
path={siteRoot + 'sys/file-scan-records'}
|
||||
currentTab={currentTab}
|
||||
|
Reference in New Issue
Block a user