mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Fix dialog graph layout
This commit is contained in:
parent
82c143887f
commit
8a2e2e37ba
@ -28,7 +28,7 @@
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (max-width: 450px) {
|
@media all and (max-width: 450px), all and (max-height: 500px) {
|
||||||
paper-dialog {
|
paper-dialog {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -50,11 +50,11 @@
|
|||||||
state-obj="[[stateObj]]"
|
state-obj="[[stateObj]]"
|
||||||
hass='[[hass]]' in-dialog></state-card-content>
|
hass='[[hass]]' in-dialog></state-card-content>
|
||||||
</h2>
|
</h2>
|
||||||
<paper-dialog-scrollable id='scrollable'>
|
|
||||||
<template is='dom-if' if="[[showHistoryComponent]]">
|
<template is='dom-if' if="[[showHistoryComponent]]">
|
||||||
<state-history-charts state-history="[[stateHistory]]"
|
<state-history-charts state-history="[[stateHistory]]"
|
||||||
is-loading-data="[[isLoadingHistoryData]]"></state-history-charts>
|
is-loading-data="[[isLoadingHistoryData]]"></state-history-charts>
|
||||||
</template>
|
</template>
|
||||||
|
<paper-dialog-scrollable id='scrollable'>
|
||||||
<more-info-content
|
<more-info-content
|
||||||
state-obj="[[stateObj]]" hass='[[hass]]'></more-info-content>
|
state-obj="[[stateObj]]" hass='[[hass]]'></more-info-content>
|
||||||
</paper-dialog-scrollable>
|
</paper-dialog-scrollable>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user