mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +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 {
|
.title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 24px;
|
line-height: 36px;
|
||||||
padding: 12px 36px 16px 36px;
|
padding: 8px 30px 8px 30px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-state-control-humidifier-humidity {
|
ha-state-control-humidifier-humidity {
|
||||||
|
@ -160,11 +160,14 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
|
|||||||
.title {
|
.title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 24px;
|
line-height: 36px;
|
||||||
padding: 12px 36px 16px 36px;
|
padding: 8px 30px 8px 30px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-state-control-climate-temperature {
|
ha-state-control-climate-temperature {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user