mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix history scrollbar (#16036)
This commit is contained in:
parent
206574eb9f
commit
b506791535
@ -515,22 +515,11 @@ class HaPanelHistory extends SubscribeMixin(LitElement) {
|
|||||||
css`
|
css`
|
||||||
.content {
|
.content {
|
||||||
padding: 0 16px 16px;
|
padding: 0 16px 16px;
|
||||||
|
padding-bottom: max(env(safe-area-inset-bottom), 16px);
|
||||||
}
|
}
|
||||||
|
|
||||||
state-history-charts {
|
state-history-charts {
|
||||||
height: calc(100vh - 136px);
|
overflow-x: hidden;
|
||||||
}
|
|
||||||
|
|
||||||
:host([narrow]) state-history-charts {
|
|
||||||
height: calc(100vh - 198px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress-wrapper {
|
|
||||||
height: calc(100vh - 136px);
|
|
||||||
}
|
|
||||||
|
|
||||||
:host([narrow]) .progress-wrapper {
|
|
||||||
height: calc(100vh - 198px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([virtualize]) {
|
:host([virtualize]) {
|
||||||
@ -539,6 +528,10 @@ class HaPanelHistory extends SubscribeMixin(LitElement) {
|
|||||||
|
|
||||||
.progress-wrapper {
|
.progress-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filters {
|
.filters {
|
||||||
@ -566,13 +559,6 @@ class HaPanelHistory extends SubscribeMixin(LitElement) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-circular-progress {
|
|
||||||
position: absolute;
|
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.start-search {
|
.start-search {
|
||||||
padding-top: 16px;
|
padding-top: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user