aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-05-25 23:30:00 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-05-25 23:30:00 -0500
commit378df649f87732a3adaae3b0402ff71360c8a969 (patch)
treed757c9fa4b23b5109128827b22bd45bd7722a368 /src/web
parent6bf6f6c1aa199f0a9878c7819606bed3cbccf312 (diff)
downloadslskd-378df649f87732a3adaae3b0402ff71360c8a969.tar.gz
rename 'page' css class to 'view' to avoid conflict
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/App.css4
-rw-r--r--src/web/src/components/App.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/web/src/components/App.css b/src/web/src/components/App.css
index e0935163..82e74b71 100644
--- a/src/web/src/components/App.css
+++ b/src/web/src/components/App.css
@@ -120,7 +120,7 @@ body {
background-color: transparent !important;
}
-.page {
+.view {
padding-left: 15px;
padding-right: 15px;
max-width: 1200px !important;
@@ -128,6 +128,6 @@ body {
margin-right: auto !important;
}
-.page:last-child {
+.view: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 09039442..76881c93 100644
--- a/src/web/src/components/App.js
+++ b/src/web/src/components/App.js
@@ -260,7 +260,7 @@ class App extends Component {
<AppContext.Provider value={{ state: applicationState, options: applicationOptions }}>
<Switch>
<Route path={`${urlBase}/searches/:id?`} render={(props) =>
- this.withTokenCheck(<div className='page'>
+ this.withTokenCheck(<div className='view'>
<Searches
server={applicationState.server}
{...props}
@@ -273,11 +273,11 @@ class App extends Component {
<Route path={`${urlBase}/rooms`} render={(props) => this.withTokenCheck(<Rooms {...props}/>)}/>
<Route path={`${urlBase}/uploads`} render={
(props) =>
- this.withTokenCheck(<div className='page'><Transfers {...props} direction='upload'/></div>)
+ this.withTokenCheck(<div className='view'><Transfers {...props} direction='upload'/></div>)
}/>
<Route path={`${urlBase}/downloads`} render={
(props) =>
- this.withTokenCheck(<div className='page'>
+ this.withTokenCheck(<div className='view'>
<Transfers {...props} direction='download' server={applicationState.server}/>
</div>)
}/>