mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Add ellipsis to thermostat and humidifier card title (#18924)
This commit is contained in:
parent
ef3785ce9f
commit
15becf9ef6
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user