From 8d4127f7448c8e70f05428f41249795ad5fadb17 Mon Sep 17 00:00:00 2001 From: Palp1tate <1939311091@qq.com> Date: Sat, 9 Sep 2023 16:17:24 +0800 Subject: [PATCH] feat: improve dashboard UI for mobile devices (#2320) --- web/src/basic/Dashboard.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/web/src/basic/Dashboard.js b/web/src/basic/Dashboard.js index 589a8a30..0e2b3027 100644 --- a/web/src/basic/Dashboard.js +++ b/web/src/basic/Dashboard.js @@ -105,8 +105,8 @@ const Dashboard = (props) => { i18next.t("general:Applications"), i18next.t("general:Organizations"), i18next.t("general:Subscriptions"), - ]}, - grid: {left: "3%", right: "4%", bottom: "3%", containLabel: true}, + ], top: "10%"}, + grid: {left: "3%", right: "4%", bottom: "0", top: "25%", containLabel: true}, xAxis: {type: "category", boundaryGap: false, data: dateArray}, yAxis: {type: "value"}, series: [ @@ -120,24 +120,24 @@ const Dashboard = (props) => { myChart.setOption(option); return ( - - - + + + - - + + } style={{width: "200px", paddingLeft: "10px"}} /> - - + + } style={{width: "200px", paddingLeft: "10px"}} /> - - + + } style={{width: "200px", paddingLeft: "10px"}} />