Commit 5af8e7dd authored by 郭阔's avatar 郭阔

ui(dashboard): 图表限宽 800px,不再随容器拉伸到整屏

parent 3443f7c7
......@@ -7,7 +7,7 @@
.kpi .card { padding:14px 16px; }
.kpi .num { font-size:26px; font-weight:700; line-height:1.2; }
.kpi .sub { color:#888; font-size:12px; margin-top:2px; }
.chart-svg { width:100%; height:auto; display:block; }
.chart-svg { width:100%; max-width:800px; height:auto; display:block; }
.chart-svg .barg rect { opacity:.82; transition:opacity .15s; }
.chart-svg .barg:hover rect { opacity:1; }
.chart-svg .axis { font-size:11px; fill:#6a7080; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment