mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Polymer 1.0: Fix dialog appearance on small screens
This commit is contained in:
parent
ce7e6d37ed
commit
69630a53f7
@ -14,6 +14,20 @@
|
||||
state-card-content {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
@media all and (max-width: 450px) {
|
||||
paper-dialog {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
max-height: calc(100% - 64px);
|
||||
|
||||
position: fixed !important;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
overflow: scroll;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<!-- entry-animation='slide-up-animation' exit-animation='slide-down-animation' -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user