diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html
index 1fc15be..9db1c60 100644
--- a/plugins/sentinel/dashboard.html
+++ b/plugins/sentinel/dashboard.html
@@ -102,12 +102,12 @@
grid.innerHTML = '
加载中...
';
if (_layoutMode === 'row') {
grid.className = 'layout-row';
- grid.style = '';
+ grid.style.cssText = 'display:flex;flex-direction:column;gap:12px';
btn.textContent = '⊞ 网格';
btn.className = 'btn btn-sm btn-filled';
} else {
grid.className = '';
- grid.style = 'display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px';
+ grid.style.cssText = 'display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px';
btn.textContent = '☷ 横版';
btn.className = 'btn btn-sm btn-outlined';
}