Skip to content

Commit bd8eb25

Browse files
committed
autofix-web (mcp-v1.0)
1 parent 7b47022 commit bd8eb25

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

docs/script.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ class TrainingDashboard {
6868
console.error('Init error:', err);
6969
this.failBadge('Data Load Error');
7070
}
71-
// Always hide preloader after attempting to load data
72-
this.hideLoading();
71+
// Always hide preloader after 3 seconds, regardless of data loading
72+
setTimeout(() => {
73+
this.hideLoading();
74+
}, 3000);
7375
this.startAutoRefresh();
7476
}
7577

docs/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ body {
7979
border-radius: 8px;
8080
background: #f7f7f7;
8181
}
82+
/* Make test accuracy image more compact and visually balanced */
83+
.chart-image {
84+
max-width: 220px;
85+
max-height: 140px;
86+
object-fit: contain;
87+
margin: 0 auto;
88+
display: block;
89+
}
8290
.predictions-grid {
8391
display: grid;
8492
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

0 commit comments

Comments
 (0)