diff options
| author | Tara Rostami <132676256+TaraRostami@users.noreply.github.com> | 2025-09-17 16:47:04 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-17 16:47:04 +0300 |
| commit | db7e7dcd2956722a7c39306d59be55f4bc0c1a42 (patch) | |
| tree | 3ef21a1b95c78317b3899fe797c879f881424bc3 /web/html | |
| parent | 01b8a27996db88f3ddf827fb2c1e7d7d3871dec0 (diff) | |
css [fixes] (#3487)
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/index.html b/web/html/index.html index fca0eb87..f2ca8472 100644 --- a/web/html/index.html +++ b/web/html/index.html @@ -538,7 +538,7 @@ const h = this.drawHeight const w = this.drawWidth // 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(y => ({ x1: this.paddingLeft, y1: y, x2: this.paddingLeft + w, y2: y })) }, @@ -622,7 +622,7 @@ </g> <!-- X ticks/labels --> <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> <path v-if="areaPath" :d="areaPath" fill="url(#spkGrad)" stroke="none" /> |
