diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index 4233db2..2ce79ef 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -162,8 +162,7 @@ var h = 60; this.canvas.width = w * this._dpr; this.canvas.height = h * this._dpr; - this.canvas.style.width = w + 'px'; - this.canvas.style.height = h + 'px'; + // CSS controls display size via width:100%;height:60px this.ctx.setTransform(this._dpr, 0, 0, this._dpr, 0, 0); this._draw(); };