layout
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||||
<title>Dashfront</title>
|
<title>Dashfront</title>
|
||||||
<style>
|
<style>
|
||||||
html,
|
html,
|
||||||
@@ -12,6 +12,12 @@
|
|||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
background-color: #dceeea;
|
background-color: #dceeea;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
overscroll-behavior-y: none;
|
||||||
|
touch-action: manipulation;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -38,10 +38,11 @@ export default function PageLayout({ title, subNav, basePath, children }) {
|
|||||||
sx={(theme) => ({
|
sx={(theme) => ({
|
||||||
width: 80,
|
width: 80,
|
||||||
height: 80,
|
height: 80,
|
||||||
|
borderRadius: '50%',
|
||||||
color: theme.palette.text.secondary,
|
color: theme.palette.text.secondary,
|
||||||
bgcolor: 'transparent',
|
bgcolor: 'transparent',
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
bgcolor: 'transparent',
|
bgcolor: theme.palette.action.hover,
|
||||||
color: theme.palette.primary.main,
|
color: theme.palette.primary.main,
|
||||||
},
|
},
|
||||||
'&.active': {
|
'&.active': {
|
||||||
|
|||||||
@@ -4,3 +4,9 @@ body,
|
|||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
background-color: #dceeea;
|
background-color: #dceeea;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
overscroll-behavior-y: none;
|
||||||
|
touch-action: manipulation;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user