Skip to content

Commit

Permalink
mobile style css
Browse files Browse the repository at this point in the history
  • Loading branch information
boern99 committed Dec 22, 2024
1 parent 0e67e8f commit fd8557c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/components/ha-date-range-picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ export class HaDateRangePicker extends LitElement {

static get styles(): CSSResultGroup {
return css`
ha-icon-button {
direction: var(--direction);
}
Expand All @@ -376,21 +375,21 @@ export class HaDateRangePicker extends LitElement {
width: 340px;
}
@media only screen and (max-width: 460px) {
ha-textarea {
width: 100%
ha-textarea {
width: 100%;
}
}
@media only screen and (max-width: 800px) {
.date-range-ranges {
border-right: none;
border-bottom: 1px solid var(--divider-color);
}
}
@media only screen and (max-height: 900px) and (max-width: 800px) {
@media only screen and (max-height: 920px) and (max-width: 800px) {
.date-range-ranges {
overflow: scroll;
max-height: 270px;
max-height: calc(70vh - 350px);
}
}
`;
Expand Down

0 comments on commit fd8557c

Please sign in to comment.