mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix thermostat humidifier card size (#18749)
This commit is contained in:
parent
260f1df1b9
commit
eaf7e29b8a
@ -154,11 +154,6 @@ export class HuiHumidifierCard extends LitElement implements LovelaceCard {
|
||||
|
||||
static get styles(): CSSResultGroup {
|
||||
return css`
|
||||
:host {
|
||||
display: block;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
ha-card {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
@ -167,7 +162,7 @@ export class HuiHumidifierCard extends LitElement implements LovelaceCard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
@ -146,11 +146,6 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
|
||||
|
||||
static get styles(): CSSResultGroup {
|
||||
return css`
|
||||
:host {
|
||||
display: block;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
ha-card {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
@ -159,7 +154,7 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
@ -99,6 +99,12 @@ export const stateControlCircularSliderStyle = css`
|
||||
}
|
||||
}
|
||||
|
||||
@container container (max-width: 130px) {
|
||||
.label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Slider */
|
||||
ha-control-circular-slider {
|
||||
width: 100%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user