diff --git a/package.json b/package.json index 42b7ed8e..2b26d35b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "battery-state-card", - "version": "3.0.1", + "version": "3.0.2", "description": "Battery State card for Home Assistant", "main": "dist/battery-state-card.js", "author": "Max Chodorowski", diff --git a/src/custom-elements/shared.css b/src/custom-elements/shared.css index 4f8b7e49..c0719f7d 100644 --- a/src/custom-elements/shared.css +++ b/src/custom-elements/shared.css @@ -1,8 +1,11 @@ +:host(.clickable), .clickable { cursor: pointer; } + + .truncate { white-space: nowrap; text-overflow: ellipsis;