Add ellipsis to thermostat and humidifier card title (#18924)

This commit is contained in:
Paul Bottein 2023-12-06 13:28:03 +01:00 committed by GitHub
parent ef3785ce9f
commit 15becf9ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -168,11 +168,14 @@ export class HuiHumidifierCard extends LitElement implements LovelaceCard {
.title {
width: 100%;
font-size: 18px;
line-height: 24px;
padding: 12px 36px 16px 36px;
line-height: 36px;
padding: 8px 30px 8px 30px;
margin: 0;
text-align: center;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
ha-state-control-humidifier-humidity {

View File

@ -160,11 +160,14 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
.title {
width: 100%;
font-size: 18px;
line-height: 24px;
padding: 12px 36px 16px 36px;
line-height: 36px;
padding: 8px 30px 8px 30px;
margin: 0;
text-align: center;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
ha-state-control-climate-temperature {