Skip to content
Snippets Groups Projects
Commit 69630a53 authored by Paulus Schoutsen's avatar Paulus Schoutsen
Browse files

Polymer 1.0: Fix dialog appearance on small screens

parent ce7e6d37
No related branches found
No related tags found
No related merge requests found
......@@ -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' -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment