Skip to content

Commit

Permalink
Merge pull request #1515 from hotNipi/main
Browse files Browse the repository at this point in the history
Gauge Tank rendering issue fixed
  • Loading branch information
joepavitt authored Dec 6, 2024
2 parents 151273e + ef36b1d commit 6674d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/widgets/ui-gauge/types/UIGaugeTank.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
>
<div class="nrdb-ui-gauge-tank--center">
<div ref="fill" class="nrdb-ui-gauge-tank--fill" />
<svg class="WaveBG" :style="`bottom: 0;height: ${svgBottom}`" :viewBox="`0 ${amplitude} 1000 ${Math.min(100, svgScaleRatio * svgBottom)}`" preserveAspectRatio="xMinYMin meet">
<svg class="WaveBG" :style="`bottom: 0; height: ${svgBottom}px`" :viewBox="`0 ${amplitude} 1000 ${Math.min(100, svgScaleRatio * svgBottom)}`" preserveAspectRatio="xMinYMin meet">
<path :d="waves[0]">
<animate
dur="5s"
Expand All @@ -17,7 +17,7 @@
/>
</path>
</svg>
<svg class="Wave" :style="`bottom: 0;height: ${svgBottom}`" :viewBox="`0 ${amplitude} 1000 ${Math.min(100, svgScaleRatio * svgBottom)}`" preserveAspectRatio="xMinYMin meet">
<svg class="Wave" :style="`bottom: 0; height: ${svgBottom}px;`" :viewBox="`0 ${amplitude} 1000 ${Math.min(100, svgScaleRatio * svgBottom)}`" preserveAspectRatio="xMinYMin meet">
<path :d="waves[0]">
<animate
dur="5s"
Expand Down

0 comments on commit 6674d0d

Please sign in to comment.