diff --git a/web/satellite/src/components/project/dashboard/ProjectDashboard.vue b/web/satellite/src/components/project/dashboard/ProjectDashboard.vue index 5cd48ba7c..491216090 100644 --- a/web/satellite/src/components/project/dashboard/ProjectDashboard.vue +++ b/web/satellite/src/components/project/dashboard/ProjectDashboard.vue @@ -599,7 +599,7 @@ onBeforeUnmount((): void => { width: 10px; height: 10px; border-radius: 2px; - background: var(--c-purple-3); + background: #929fb1; } &__allocated-label { diff --git a/web/satellite/src/types/chart.ts b/web/satellite/src/types/chart.ts index d0f68b739..e7c63f124 100644 --- a/web/satellite/src/types/chart.ts +++ b/web/satellite/src/types/chart.ts @@ -37,7 +37,7 @@ class Styling { public element: HTMLElement, public topPosition: number, public leftPosition: number, - public chartPosition: ClientRect, + public chartPosition: DOMRect, ) {} } @@ -94,7 +94,7 @@ export class Tooltip { elemStyling.element.style.opacity = StylingConstants.tooltipOpacity; elemStyling.element.style.position = StylingConstants.tooltipPosition; elemStyling.element.style.left = `${elemStyling.chartPosition.left + elemStyling.tooltipModel.caretX - elemStyling.leftPosition}px`; - elemStyling.element.style.top = `${elemStyling.chartPosition.top + window.pageYOffset + elemStyling.tooltipModel.caretY - elemStyling.topPosition}px`; + elemStyling.element.style.top = `${elemStyling.chartPosition.top + window.scrollY + elemStyling.tooltipModel.caretY - elemStyling.topPosition}px`; } } diff --git a/web/satellite/vuetify-poc/src/views/Dashboard.vue b/web/satellite/vuetify-poc/src/views/Dashboard.vue index 1dc430f78..e3f7bafc2 100644 --- a/web/satellite/vuetify-poc/src/views/Dashboard.vue +++ b/web/satellite/vuetify-poc/src/views/Dashboard.vue @@ -79,7 +79,7 @@ title="Download" :progress="egressUsedPercent" :used="`${usedLimitFormatted(limits.bandwidthUsed)} Used`" - :limit="`Limit: ${usedLimitFormatted(limits.bandwidthLimit)}`" + :limit="`Limit: ${usedLimitFormatted(limits.bandwidthLimit)} per month`" :available="`${usedLimitFormatted(availableEgress)} Available`" cta="Need more?" @cta-click="onNeedMoreClicked(LimitToChange.Bandwidth)" @@ -89,7 +89,7 @@ - +