codedash-app 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/data.js +2 -1
- package/src/frontend/styles.css +6 -0
package/package.json
CHANGED
package/src/data.js
CHANGED
|
@@ -302,7 +302,8 @@ function loadSessions() {
|
|
|
302
302
|
for (const s of result) {
|
|
303
303
|
s.first_time = new Date(s.first_ts).toLocaleString('sv-SE').slice(0, 16);
|
|
304
304
|
s.last_time = new Date(s.last_ts).toLocaleString('sv-SE').slice(0, 16);
|
|
305
|
-
|
|
305
|
+
const dt = new Date(s.last_ts);
|
|
306
|
+
s.date = dt.getFullYear() + '-' + String(dt.getMonth()+1).padStart(2,'0') + '-' + String(dt.getDate()).padStart(2,'0');
|
|
306
307
|
}
|
|
307
308
|
|
|
308
309
|
return result;
|
package/src/frontend/styles.css
CHANGED
|
@@ -1101,6 +1101,12 @@ body {
|
|
|
1101
1101
|
|
|
1102
1102
|
.heatmap-container {
|
|
1103
1103
|
padding: 20px;
|
|
1104
|
+
overflow-x: auto;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
.heatmap-container .heatmap-row,
|
|
1108
|
+
.heatmap-container .heatmap-months {
|
|
1109
|
+
min-width: max-content;
|
|
1104
1110
|
}
|
|
1105
1111
|
|
|
1106
1112
|
.heatmap-title {
|