fix(F006): 工作台首页适配浏览器全宽,去除 1400px 限制

This commit is contained in:
zou 2026-08-22 15:25:11 +08:00
parent 33652373bd
commit cbb98742ff
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ window.addEventListener('resize', () => { trendChart?.resize(); statusChart?.res
</template>
<style scoped lang="scss">
.rr-dashboard { max-width: 1400px; }
.rr-dashboard { width: 100%; }
/* header 已抽到 PageHeader 组件, 此处不再维护 */
.rr-stats-grid {

View File

@ -255,7 +255,7 @@ onMounted(async () => {
</template>
<style scoped lang="scss">
.rr-dashboard { max-width: 1400px; }
.rr-dashboard { width: 100%; }
/* header 已抽到 PageHeader 组件, 此处不再维护 */
.rr-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.rr-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; transition: all 0.15s; &:hover { border-color: var(--border-strong); box-shadow: var(--shadow); } }