Skip to content

Commit

Permalink
Fix thermostat humidifier card size (#18749)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Nov 24, 2023
1 parent 260f1df commit eaf7e29
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
7 changes: 1 addition & 6 deletions src/panels/lovelace/cards/hui-humidifier-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 {
Expand Down
7 changes: 1 addition & 6 deletions src/panels/lovelace/cards/hui-thermostat-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 {
Expand Down
6 changes: 6 additions & 0 deletions src/state-control/state-control-circular-slider-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ export const stateControlCircularSliderStyle = css`
}
}
@container container (max-width: 130px) {
.label {
display: none;
}
}
/* Slider */
ha-control-circular-slider {
width: 100%;
Expand Down

0 comments on commit eaf7e29

Please sign in to comment.