diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/App.css | 43 | ||||
| -rw-r--r-- | src/web/src/components/App.js | 6 |
2 files changed, 15 insertions, 34 deletions
diff --git a/src/web/src/components/App.css b/src/web/src/components/App.css index 1f52554c..e0935163 100644 --- a/src/web/src/components/App.css +++ b/src/web/src/components/App.css @@ -80,37 +80,6 @@ body { width: 65px; } -.transfer-button { - color: black; -} - -.transfer-card { - width: 1200px !important; - margin-left: auto !important; - margin-right: auto !important; -} - -.transfer-segment { - margin-top: 16px; - padding-left: 15px; - padding-right: 15px; -} - -.transfer-placeholder { - font-weight: 100; - text-align: center; - margin-top: 50px !important; -} - -.transferlist-size { - width: 150px; - min-width: 150px; -} - -.transferlist-filename { - word-wrap: break-word !important; -} - .showmore-button { padding: 20px !important; max-width: 1200px !important; @@ -150,3 +119,15 @@ body { .loader-segment.ui.placeholder > :before { background-color: transparent !important; } + +.page { + padding-left: 15px; + padding-right: 15px; + max-width: 1200px !important; + margin-left: auto !important; + margin-right: auto !important; +} + +.page:last-child { + margin-bottom: 17px; +}
\ No newline at end of file diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js index 5e5ed10f..44f4ee7a 100644 --- a/src/web/src/components/App.js +++ b/src/web/src/components/App.js @@ -251,7 +251,7 @@ class App extends Component { <AppContext.Provider value={{ state: applicationState, options: applicationOptions }}> <Switch> <Route path={`${urlBase}/searches/:id?`} render={(props) => - this.withTokenCheck(<div className='search-container'> + this.withTokenCheck(<div className='page'> <Searches server={applicationState.server} {...props} @@ -262,8 +262,8 @@ class App extends Component { <Route path={`${urlBase}/users`} render={(props) => this.withTokenCheck(<Users {...props}/>)}/> <Route path={`${urlBase}/chat`} render={(props) => this.withTokenCheck(<Chat {...props}/>)}/> <Route path={`${urlBase}/rooms`} render={(props) => this.withTokenCheck(<Rooms {...props}/>)}/> - <Route path={`${urlBase}/uploads`} render={(props) => this.withTokenCheck(<Transfers {...props} direction='upload'/>)}/> - <Route path={`${urlBase}/downloads`} render={(props) => this.withTokenCheck(<Transfers {...props} direction='download'/>)}/> + <Route path={`${urlBase}/uploads`} render={(props) => this.withTokenCheck(<div className='page'><Transfers {...props} direction='upload'/></div>)}/> + <Route path={`${urlBase}/downloads`} render={(props) => this.withTokenCheck(<div className='page'><Transfers {...props} direction='download'/></div>)}/> <Route path={`${urlBase}/system/:tab?`} render={(props) => this.withTokenCheck(<System {...props} state={applicationState} options={applicationOptions}/>)}/> <Redirect from='*' to={`${urlBase}/searches`}/> </Switch> |
