Skip to content

Commit 8a85193

Browse files
committed
element positions
1 parent e9309b1 commit 8a85193

10 files changed

Lines changed: 30 additions & 29 deletions

File tree

dist/about.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
sound.play();
216216
});</script><style>#popup-container {
217217
position: fixed;
218-
top: 10%;
219-
left: 85%;
218+
bottom: 22%;
219+
left: 76%;
220220
width: 200px;
221221
padding: 10px;
222222
background-color: #8c3e3e;
@@ -297,7 +297,7 @@
297297
border: 3px groove lime;
298298
text-align: center;
299299
padding: 10px;
300-
transform: translate(70vw, 30vw);
300+
transform: translate(0vw, 33vw);
301301
}
302302

303303
#drag-header {

dist/batch-tools.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
sound.play();
216216
});</script><style>#popup-container {
217217
position: fixed;
218-
top: 10%;
219-
left: 85%;
218+
bottom: 22%;
219+
left: 76%;
220220
width: 200px;
221221
padding: 10px;
222222
background-color: #8c3e3e;
@@ -297,7 +297,7 @@
297297
border: 3px groove lime;
298298
text-align: center;
299299
padding: 10px;
300-
transform: translate(70vw, 30vw);
300+
transform: translate(0vw, 33vw);
301301
}
302302

303303
#drag-header {

dist/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
sound.play();
216216
});</script><style>#popup-container {
217217
position: fixed;
218-
top: 10%;
219-
left: 85%;
218+
bottom: 22%;
219+
left: 76%;
220220
width: 200px;
221221
padding: 10px;
222222
background-color: #8c3e3e;
@@ -297,7 +297,7 @@
297297
border: 3px groove lime;
298298
text-align: center;
299299
padding: 10px;
300-
transform: translate(70vw, 30vw);
300+
transform: translate(0vw, 33vw);
301301
}
302302

303303
#drag-header {

dist/projects.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
sound.play();
216216
});</script><style>#popup-container {
217217
position: fixed;
218-
top: 10%;
219-
left: 85%;
218+
bottom: 22%;
219+
left: 76%;
220220
width: 200px;
221221
padding: 10px;
222222
background-color: #8c3e3e;
@@ -297,7 +297,7 @@
297297
border: 3px groove lime;
298298
text-align: center;
299299
padding: 10px;
300-
transform: translate(70vw, 30vw);
300+
transform: translate(0vw, 33vw);
301301
}
302302

303303
#drag-header {

dist/settings.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@
232232
sound.play();
233233
});</script><style>#popup-container {
234234
position: fixed;
235-
top: 10%;
236-
left: 85%;
235+
bottom: 22%;
236+
left: 76%;
237237
width: 200px;
238238
padding: 10px;
239239
background-color: #8c3e3e;
@@ -314,7 +314,7 @@
314314
border: 3px groove lime;
315315
text-align: center;
316316
padding: 10px;
317-
transform: translate(70vw, 30vw);
317+
transform: translate(0vw, 33vw);
318318
}
319319

320320
#drag-header {

dist/storage-tools.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
sound.play();
216216
});</script><style>#popup-container {
217217
position: fixed;
218-
top: 10%;
219-
left: 85%;
218+
bottom: 22%;
219+
left: 76%;
220220
width: 200px;
221221
padding: 10px;
222222
background-color: #8c3e3e;
@@ -297,7 +297,7 @@
297297
border: 3px groove lime;
298298
text-align: center;
299299
padding: 10px;
300-
transform: translate(70vw, 30vw);
300+
transform: translate(0vw, 33vw);
301301
}
302302

303303
#drag-header {

dist/web-snippets.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
sound.play();
216216
});</script><style>#popup-container {
217217
position: fixed;
218-
top: 10%;
219-
left: 85%;
218+
bottom: 22%;
219+
left: 76%;
220220
width: 200px;
221221
padding: 10px;
222222
background-color: #8c3e3e;
@@ -297,7 +297,7 @@
297297
border: 3px groove lime;
298298
text-align: center;
299299
padding: 10px;
300-
transform: translate(70vw, 30vw);
300+
transform: translate(0vw, 33vw);
301301
}
302302

303303
#drag-header {

src/includes/draggable.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ style.
66
border: 3px groove lime;
77
text-align: center;
88
padding: 10px;
9-
transform: translate(70vw, 30vw);
9+
transform: translate(0vw, 33vw);
1010
}
1111

1212
#drag-header {

src/includes/popup.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
style.
22
#popup-container {
33
position: fixed;
4-
top: 10%;
5-
left: 85%;
4+
bottom: 22%;
5+
left: 76%;
66
width: 200px;
77
padding: 10px;
88
background-color: #8c3e3e;

webpack.config.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
2424
// }
2525

2626
module.exports = {
27-
watch: true, // Force watch mode to detect all file changes
27+
// watch: true, // Force watch mode to detect all file changes
2828

2929
// Multiple entry points for mount points, CSS sucked by JS
3030
entry: {
@@ -277,10 +277,9 @@ module.exports = {
277277

278278
// Makes sure that all changes are monitored
279279
watchOptions: {
280-
poll: true,
281280
ignored: /node_modules/,
282-
aggregateTimeout: 400,
283-
poll: 1000,
281+
aggregateTimeout: 100,
282+
poll: 500,
284283
},
285284

286285
// Development server configuration
@@ -289,9 +288,11 @@ module.exports = {
289288
historyApiFallback: {
290289
rewrites: [{ from: /.*/, to: "/index.html" }],
291290
},
291+
watchFiles: ["src/**/*.pug", "src/**/*.js", "src/**/*.scss"],
292292
compress: true,
293293
port: 9000,
294294
open: true,
295-
hot: true,
295+
hot: false,
296+
liveReload: true,
296297
},
297298
};

0 commit comments

Comments
 (0)