Skip to content

Commit 9d37d3b

Browse files
author
AnjaBruls
committed
adjust bottombar menu
1 parent 61406c2 commit 9d37d3b

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

src/Components/Navigation/BottomBar.js

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,17 @@ const bottomInfo = [
2929

3030
const BottomBar = () => {
3131
return (
32-
<div style={{position:'fixed', left: 0, bottom: 5, zIndex: 2}}>
33-
{bottomInfo.map((v, i) => (
34-
<IconButton color="primary" key={i} href={v.url} size="medium" target="_blank">
35-
<img
36-
alt={v.name}
37-
src={v.icon}
38-
draggable='false'
39-
width='35em'
40-
style={{opacity:'0.6'}}
41-
/>
42-
</IconButton>
43-
))}
44-
</div>
32+
bottomInfo.map((v, i) => (
33+
<IconButton color="primary" key={i} href={v.url} size="medium" target="_blank">
34+
<img
35+
alt={v.name}
36+
src={v.icon}
37+
draggable='false'
38+
width='35em'
39+
style={{opacity:'0.6'}}
40+
/>
41+
</IconButton>
42+
))
4543
);
4644
};
4745

src/Components/Util/DrawerLayout.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ const useStyles = makeStyles((theme) => ({
2525
height: 'calc(100% - 121px)', // footerHeight (60) + footerMarginTop (5) + topBarHeight (48) + appBarMarginBottom (8) = 121
2626
},
2727
footer: {
28-
// position:'relative',
29-
// marginTop: 5,
30-
// height: 60,
31-
// bottom: 0
28+
position:'fixed',
29+
left: 0,
30+
bottom: 5,
31+
zIndex: 2
3232
},
3333
full: {
3434
display: 'flex',

0 commit comments

Comments
 (0)