Change grid size - change time format

This commit is contained in:
JR 2019-12-06 00:48:41 +01:00
parent 1f2039a474
commit 4049d156e8
3 changed files with 3 additions and 18 deletions

2
dist/main.js vendored

File diff suppressed because one or more lines are too long

View File

@ -175,22 +175,7 @@ export default {
setLastExecutionTime : function setLastExecutionTime() { setLastExecutionTime : function setLastExecutionTime() {
var day = new Date(); var day = new Date();
var hours = day.getHours(); this.executionTime = day.toISOString()
var minutes = day.getMinutes() ;
var seconds = day.getSeconds();
if (hours < 10) {
hours = '0' + hours;
}
if (minutes < 10) {
minutes = '0' + minutes;
}
if (seconds < 10) {
seconds = '0' + seconds;
}
this.executionTime = hours + ':' + minutes + ':' + seconds;
}, },

View File

@ -215,7 +215,7 @@ export default {
} }
.grid-container { .grid-container {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(525px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
grid-gap: 5px; grid-gap: 5px;
padding: 5px; padding: 5px;
} }