Skip to content

Commit 186e63f

Browse files
committed
autofix-web (mcp-v1.0)
1 parent c3f8203 commit 186e63f

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

docs/script.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ class TrainingDashboard {
6767
} catch (err) {
6868
console.error('Init error:', err);
6969
this.failBadge('Data Load Error');
70-
} finally {
71-
this.hideLoading();
72-
this.startAutoRefresh();
7370
}
71+
// Always hide preloader after attempting to load data
72+
this.hideLoading();
73+
this.startAutoRefresh();
7474
}
7575

7676
async fetchText(path) {

docs/style.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,21 @@ body {
9494
border-radius: 8px;
9595
background: #f7f7f7;
9696
margin-bottom: 6px;
97+
box-shadow: 0 2px 8px rgba(0,0,0,0.07);
98+
}
99+
.image-card {
100+
background: #fff;
101+
border-radius: 10px;
102+
box-shadow: 0 1px 6px rgba(0,0,0,0.04);
103+
padding: 10px 8px 16px 8px;
104+
text-align: center;
105+
margin-bottom: 12px;
106+
}
107+
.image-caption {
108+
font-size: 1.05rem;
109+
color: #555;
110+
margin-top: 4px;
111+
word-break: break-word;
97112
}
98113
.loading-overlay {
99114
position: fixed;

0 commit comments

Comments
 (0)