@record-evolution/widget-gauge 1.7.21 → 1.7.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/widget-gauge.ts
CHANGED
|
@@ -413,7 +413,7 @@ export class WidgetGauge extends LitElement {
|
|
|
413
413
|
const titleElement = this.canvasList.get(ds.label)?.title
|
|
414
414
|
if (titleElement) {
|
|
415
415
|
titleElement.style.fontSize = String(36 * modifier) + 'px'
|
|
416
|
-
titleElement.style.maxWidth = String(
|
|
416
|
+
titleElement.style.maxWidth = String(550 * modifier) + 'px'
|
|
417
417
|
titleElement.style.height = String(this.textContainerHeight * modifier) + 'px'
|
|
418
418
|
titleElement.textContent = ds.label ?? ''
|
|
419
419
|
}
|
|
@@ -510,7 +510,6 @@ export class WidgetGauge extends LitElement {
|
|
|
510
510
|
}
|
|
511
511
|
h3 {
|
|
512
512
|
margin: 0;
|
|
513
|
-
max-width: 300px;
|
|
514
513
|
overflow: hidden;
|
|
515
514
|
text-overflow: ellipsis;
|
|
516
515
|
white-space: nowrap;
|