Improved layout of popups on small screens

pull/12/head
Paulus Schoutsen 2014-11-19 19:20:06 -08:00
parent 67bb64ab6b
commit 651d2dfd86
3 changed files with 19 additions and 1 deletions

View File

@ -29,6 +29,12 @@
}
@media all and (max-width: 620px) {
paper-action-dialog {
margin: 0;
width: 100%;
height: 100%;
}
.eventContainer {
display: none;
}

View File

@ -30,6 +30,12 @@
}
@media all and (max-width: 620px) {
paper-action-dialog {
margin: 0;
width: 100%;
height: 100%;
}
.serviceContainer {
display: none;
}

View File

@ -9,7 +9,7 @@
<polymer-element name="state-set-dialog" attributes="api">
<template>
<paper-action-dialog id="dialog" heading="Set State" transition="core-transition-center" backdrop="true">
<paper-action-dialog id="dialog" heading="Set State" transition="core-transition-bottom" backdrop="true">
<style>
:host {
font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
@ -28,6 +28,12 @@
}
@media all and (max-width: 620px) {
paper-action-dialog {
margin: 0;
width: 100%;
height: 100%;
}
.stateContainer {
display: none;
}