mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix dashboard radial bar issue
This commit is contained in:
parent
8c3e4819c0
commit
9f7ad4a936
1 changed files with 9 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<div class="container">
|
||||
<p class="text">{{ centerText }}</p>
|
||||
<p class="bottom_text">{{ bottomText }}</p>
|
||||
<apexchart type="radialBar" height="205" :options="chartOptions" :series="series" ref="chart"/>
|
||||
<apexchart class="radialBar" type="radialBar" height="205" :options="chartOptions" :series="series" ref="chart"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -83,6 +83,14 @@ export default {
|
|||
position: relative;
|
||||
margin: 0 auto;
|
||||
height: 112px!important;
|
||||
.radialBar {
|
||||
position: absolute;
|
||||
top: -30px;
|
||||
@media(max-width: 768px) and (min-width: 290px) {
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
.text {
|
||||
position: absolute;
|
||||
top: calc(50% - 5px);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue