Added hack for prettier snackbar

- this closes #56
This commit is contained in:
R. Aidan Campbell 2016-05-10 13:07:29 -04:00
parent d08d1f3132
commit 9ecc62a61d
2 changed files with 12 additions and 1 deletions

View File

@ -108,7 +108,7 @@
<div id="snackbar" class="mdl-snackbar mdl-js-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button> <!-- this button exists to suppress the snackbar warning. we're really using a toast. -->
<button id='snackButton' class="mdl-snackbar__action" type="button"></button> <!-- this button exists to suppress the snackbar warning. we're really using a toast. -->
</div>
</body>
</html>

View File

@ -29,6 +29,17 @@
color: white;
text-align: center;
}
#snackButton {
width: 0px;
height: 0px;
display: none;
}
.mdl-snackbar__text {
padding: 14px 30px 14px 30px;
}
.mdl-snackbar {
min-width:0px;
}
main {
padding: 50px 100px;
}