Skip to content
Permalink
Browse files

Fix/patch FF missing progress bars

height was 100% of nothing...
  • Loading branch information...
dceejay committed Aug 15, 2019
1 parent eb4126f commit ad7ce5f47dd9d1d50190736794bb7e45ba19ce9a

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -7529,7 +7529,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
this.options.columns = this.options.columns.slice(0);

if (!this.options.reactiveData) {

this.options.data = this.options.data.slice(0);
}
};
@@ -14781,7 +14780,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
stars = [],
starsHolder = document.createElement("div"),
star = document.createElementNS('http://www.w3.org/2000/svg', "svg");

//change star type
function starChange(val) {
stars.forEach(function (star, i) {
@@ -16229,6 +16228,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
starActive = '<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>',
starInactive = '<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>';

if (isNaN(value)) { return; }
//style stars holder
stars.style.verticalAlign = "middle";

@@ -16396,7 +16396,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol

element.setAttribute("aria-label", percentValue);

return "<div style='position:relative; height:100%;' data-max='" + max + "' data-min='" + min + "'><div style='position:relative; height:100%; width:calc(" + percentValue + "%); background-color:" + color + "; display:inline-block;'></div></div>" + (legend ? "<div style='position:absolute; top:4px; left:0; text-align:" + legendAlign + "; width:100%; color:" + legendColor + ";'>" + legend + "</div>" : "");
return "<div style='position:relative; height:100%;' data-max='" + max + "' data-min='" + min + "'><div style='position:relative; min-height:20px; height:100%; width:calc(" + percentValue + "%); background-color:" + color + "; display:inline-block;'></div></div>" + (legend ? "<div style='position:absolute; top:4px; left:0; text-align:" + legendAlign + "; width:100%; color:" + legendColor + ";'>" + legend + "</div>" : "");
},

//background color
@@ -1,6 +1,6 @@
{
"name": "node-red-ui-node-table",
"version": "0.0.4",
"version": "0.0.5",
"description": "Table UI widget node for Node-RED Dashboard",
"author": "Kazuhito Yokoi",
"license": "Apache-2.0",

0 comments on commit ad7ce5f

Please sign in to comment.
You can’t perform that action at this time.