Skip to content

Commit 6a572a2

Browse files
authored
Merge pull request #21 from shweshi/dev
service worker cache and fix scrollbar
2 parents 829ad0d + 73f9619 commit 6a572a2

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

src/css/style.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
html {
2+
padding: 0px;
3+
margin: 0px;
4+
}
5+
6+
body {
7+
overflow: hidden;
8+
}
9+
110
.body {
211
overflow-y: hidden;
312
}
@@ -154,20 +163,14 @@ a:visited {
154163
}
155164

156165
#text::-webkit-scrollbar {
157-
width: 15px;
166+
width: 12px;
158167
background-color: #f1f1f1;
159168
}
160169

161170
#text::-webkit-scrollbar-thumb {
162171
background-color: #c1c1c1;
163172
}
164173

165-
body,
166-
html {
167-
padding: 0px;
168-
margin: 0px;
169-
}
170-
171174
input[type="file"] {
172175
display: none;
173176
}

src/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var cacheName = 'editpad';
1+
var cacheName = 'editpad-v1';
22
var filesToCache = [
33
'/',
44
'/index.html',

0 commit comments

Comments
 (0)