mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-22 00:03:51 +02:00
fix: chart statistic alignment
This commit is contained in:
@@ -89,13 +89,12 @@
|
|||||||
v-model="selectedDate"
|
v-model="selectedDate"
|
||||||
type="date"
|
type="date"
|
||||||
:clearable="false"
|
:clearable="false"
|
||||||
align="right"
|
|
||||||
:default-value="dayjs().toDate()"
|
:default-value="dayjs().toDate()"
|
||||||
:disabled-date="getDatePickerDisabledDate"
|
:disabled-date="getDatePickerDisabledDate"
|
||||||
@change="reloadData"></el-date-picker>
|
@change="reloadData"></el-date-picker>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="position: relative">
|
<div class="status-online">
|
||||||
<el-statistic
|
<el-statistic
|
||||||
:title="t('view.charts.instance_activity.online_time')"
|
:title="t('view.charts.instance_activity.online_time')"
|
||||||
:formatter="(val) => timeToText(val, true)"
|
:formatter="(val) => timeToText(val, true)"
|
||||||
@@ -616,4 +615,13 @@
|
|||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status-online {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
::v-deep .el-statistic__head {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user