change layout

file-group-page
bat 3 years ago
parent 4ddbd06b08
commit 12e5595bd6

@ -4,20 +4,16 @@
<title>macchiato.dev</title> <title>macchiato.dev</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<style type="text/css"> <style type="text/css">
html, body { html, body {
margin: 0;
padding: 0; padding: 0;
} }
html { html {
box-sizing: border-box; box-sizing: border-box;
} }
body { *, *:before, *:after {
height: 100dvh;
max-width: 800px;
margin: 0 auto;
}
*, *:before, *:after {
box-sizing: inherit; box-sizing: inherit;
} }
</style> </style>
</head> </head>
<body> <body>

@ -11,7 +11,7 @@ async function initCache() {
'/components/dialog.js', '/components/dialog.js',
'/forms/button-group.js', '/forms/button-group.js',
'/menu/dropdown.js', '/menu/dropdown.js',
]) //1 ]) //2
} }
self.addEventListener("install", event => { self.addEventListener("install", event => {

Loading…
Cancel
Save