Commit 373d94f0 authored by Kushal Pandya's avatar Kushal Pandya Committed by Tim Zallmann

Geo: Show sync percent on bar graph and count within tooltips

parent 0a395a08
......@@ -104,8 +104,8 @@ class GeoNodeStatus {
graphItems.forEach((item) => {
$itemEl.find(item.itemSel)
.toggleClass('has-value has-tooltip', !!item.itemCount)
.attr('data-original-title', `${item.itemTooltip}: ${item.itemPercent}%`)
.text(item.itemCount || '')
.attr('data-original-title', `${item.itemTooltip}: ${item.itemCount}`)
.text(`${item.itemPercent}%` || '')
.css('width', `${item.itemPercent}%`);
});
}
......
......@@ -11,12 +11,14 @@
.status-neutral,
.status-red, {
height: 100%;
font-size: $tooltip-font-size;
font-weight: normal;
color: $white-light;
line-height: 20px;
&.has-value {
padding: 0 10px;
min-width: 25px;
padding: 0 5px;
}
&:hover {
......
---
title: 'Geo: Show sync percent on bar graph and count within tooltips'
merge_request: 3794
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment