mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-24 19:16:34 +00:00
Make paper-scrollable in fullscreen dialog resize properly (#1052)
* remove min-height to make paper-scrollable work properly. Hack fullscreen background behind it * apply fix to hassio-markdown-dialog
This commit is contained in:
parent
6447e98caa
commit
d7d167fbf9
@ -31,7 +31,16 @@
|
||||
@media all and (max-width: 450px), all and (max-height: 500px) {
|
||||
paper-dialog {
|
||||
max-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
paper-dialog::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
z-index: -1;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
background-color: inherit;
|
||||
}
|
||||
app-toolbar {
|
||||
color: var(--text-primary-color);
|
||||
|
@ -43,6 +43,16 @@
|
||||
:host {
|
||||
@apply(--ha-dialog-fullscreen);
|
||||
}
|
||||
:host::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
z-index: -1;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
background-color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
:host([data-domain=camera]) {
|
||||
|
@ -164,7 +164,6 @@
|
||||
}
|
||||
|
||||
--ha-dialog-fullscreen: {
|
||||
min-height: 100% !important;
|
||||
width: 100% !important;
|
||||
border-radius: 0px;
|
||||
position: fixed !important;
|
||||
|
Loading…
x
Reference in New Issue
Block a user