Browse Source

fixes

master
Milan Pässler 5 months ago
parent
commit
a4cbeb0747
4 changed files with 13 additions and 9 deletions
  1. 1
    0
      index.html
  2. 4
    3
      main.css
  3. 4
    4
      manifest.json
  4. 4
    2
      sw.js

+ 1
- 0
index.html View File

@@ -1,3 +1,4 @@
1
+<!DOCTYPE html>
1 2
 <html lang="de">
2 3
 	<head>
3 4
 		<meta name="theme-color" content="#1a1919"></meta>

+ 4
- 3
main.css View File

@@ -36,9 +36,9 @@
36 36
 }
37 37
 
38 38
 body {
39
-	overflow: hidden;
39
+	overflow-x: hidden;
40 40
 	user-select: none;
41
-	height: 100%;
41
+	min-height: 100vh;
42 42
 	margin: 0;
43 43
 	background-color: #1a1919;
44 44
 	color: white;
@@ -63,7 +63,7 @@ main {
63 63
 }
64 64
 
65 65
 .container {
66
-	max-width: 1080px;
66
+	max-width: 850px;
67 67
 	width: 100%;
68 68
 	box-sizing: border-box;
69 69
 	margin: 0 auto;
@@ -121,6 +121,7 @@ header>svg * {
121 121
 	padding: 0;
122 122
 	display: flex;
123 123
 	align-items: center;
124
+	overflow: hidden;
124 125
 }
125 126
 
126 127
 .container.gallery>.grid-container {

+ 4
- 4
manifest.json View File

@@ -4,22 +4,22 @@
4 4
 	"start_url": ".",
5 5
 	"icons": [
6 6
 		{
7
-			"src": "deepart.ai64.png",
7
+			"src": "./deepart.ai64.png",
8 8
 			"sizes": "64x64",
9 9
 			"type": "image\/png"
10 10
 		},
11 11
 		{
12
-			"src": "deepart.ai128.png",
12
+			"src": "./deepart.ai128.png",
13 13
 			"sizes": "128x128",
14 14
 			"type": "image\/png"
15 15
 		},
16 16
 		{
17
-			"src": "deepart.ai256.png",
17
+			"src": "./deepart.ai256.png",
18 18
 			"sizes": "256x256",
19 19
 			"type": "image\/png"
20 20
 		},
21 21
 		{
22
-			"src": "deepart.ai512.png",
22
+			"src": "./deepart.ai512.png",
23 23
 			"sizes": "512x512",
24 24
 			"type": "image\/png"
25 25
 		}

+ 4
- 2
sw.js View File

@@ -1,12 +1,13 @@
1 1
 'use strict';
2 2
 
3
-const CACHE = 'cache-v34';
3
+const CACHE = 'cache-v50';
4 4
 
5 5
 let preCache = [
6 6
 	'./',
7 7
 	'./js/',
8 8
 	'./js/lit-html.js',
9 9
 	'./js/main.js',
10
+	'./js/ai.js',
10 11
 	'./js/router.js',
11 12
 	'./js/sw.js',
12 13
 	'./js/util.js',
@@ -27,7 +28,8 @@ let preCache = [
27 28
 	'./fonts/source-code-pro-v7-latin-700.woff2',
28 29
 	'./fonts/source-code-pro-v7-latin-regular.woff',
29 30
 	'./fonts/source-code-pro-v7-latin-regular.woff2',
30
-	'./manifest.json'
31
+	'./manifest.json',
32
+	'./main.css'
31 33
 ];
32 34
 
33 35
 self.addEventListener('install', function (evt) {

Loading…
Cancel
Save