mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-19 00:13:03 +00:00
css [fixes] (#3487)
Some checks are pending
Release 3X-UI / build (386) (push) Waiting to run
Release 3X-UI / build (amd64) (push) Waiting to run
Release 3X-UI / build (arm64) (push) Waiting to run
Release 3X-UI / build (armv5) (push) Waiting to run
Release 3X-UI / build (armv6) (push) Waiting to run
Release 3X-UI / build (armv7) (push) Waiting to run
Release 3X-UI / build (s390x) (push) Waiting to run
Release 3X-UI / Build for Windows (push) Waiting to run
Some checks are pending
Release 3X-UI / build (386) (push) Waiting to run
Release 3X-UI / build (amd64) (push) Waiting to run
Release 3X-UI / build (arm64) (push) Waiting to run
Release 3X-UI / build (armv5) (push) Waiting to run
Release 3X-UI / build (armv6) (push) Waiting to run
Release 3X-UI / build (armv7) (push) Waiting to run
Release 3X-UI / build (s390x) (push) Waiting to run
Release 3X-UI / Build for Windows (push) Waiting to run
This commit is contained in:
parent
01b8a27996
commit
db7e7dcd29
2 changed files with 3 additions and 3 deletions
2
web/assets/css/custom.min.css
vendored
2
web/assets/css/custom.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -538,7 +538,7 @@
|
||||||
const h = this.drawHeight
|
const h = this.drawHeight
|
||||||
const w = this.drawWidth
|
const w = this.drawWidth
|
||||||
// draw at 25%, 50%, 75%
|
// draw at 25%, 50%, 75%
|
||||||
return [0.25, 0.5, 0.75]
|
return [0, 0.25, 0.5, 0.75, 1]
|
||||||
.map(r => Math.round(this.paddingTop + h * r))
|
.map(r => Math.round(this.paddingTop + h * r))
|
||||||
.map(y => ({ x1: this.paddingLeft, y1: y, x2: this.paddingLeft + w, y2: y }))
|
.map(y => ({ x1: this.paddingLeft, y1: y, x2: this.paddingLeft + w, y2: y }))
|
||||||
},
|
},
|
||||||
|
@ -622,7 +622,7 @@
|
||||||
</g>
|
</g>
|
||||||
<!-- X ticks/labels -->
|
<!-- X ticks/labels -->
|
||||||
<g v-for="(t,i) in xTicks" :key="'x'+i">
|
<g v-for="(t,i) in xTicks" :key="'x'+i">
|
||||||
<text class="cpu-grid-x-text" :x="t.x" :y="paddingTop + drawHeight + 14" text-anchor="middle" font-size="10" fill="rgba(0,0,0,0.3)" v-text="t.label"></text>
|
<text class="cpu-grid-x-text" :x="t.x" :y="paddingTop + drawHeight + 22" text-anchor="middle" font-size="10" fill="rgba(0,0,0,0.3)" v-text="t.label"></text>
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
<path v-if="areaPath" :d="areaPath" fill="url(#spkGrad)" stroke="none" />
|
<path v-if="areaPath" :d="areaPath" fill="url(#spkGrad)" stroke="none" />
|
||||||
|
|
Loading…
Reference in a new issue