summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-11-05 23:02:52 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-11-05 23:02:52 +0900
commit73d6b9d63b20682df039db67e5cbdf42849a4195 (patch)
tree29ef677b701ebc88cbb2512f20f6473136786c68
parentdc7a7e2bd330611936638eea06638efafda4e2dd (diff)
Make appbar fixed
The advanced search menu won't then move the content and is less laggy.
-rw-r--r--src/App.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/App.js b/src/App.js
index 9983022..28a133a 100644
--- a/src/App.js
+++ b/src/App.js
@@ -355,7 +355,8 @@ function StoreView(props) {
const classes = makeStyles((theme) => ({
root: {
- paddingBottom: '65px',
+ paddingTop: 105,
+ paddingBottom: 65,
},
stickyBottom: {
top: 'auto',
@@ -378,7 +379,7 @@ function StoreView(props) {
return (
<>
- <AppBar position="sticky">
+ <AppBar position="fixed">
<Toolbar variant="dense">
<Typography variant="h6" className={classes.title}>
{t('DoujinSea')}