better styling for snackbar on mobile

This commit is contained in:
psychobunny
2015-08-22 12:33:14 -04:00
parent 7fa4057051
commit cd83dcf2e0
2 changed files with 11 additions and 3 deletions

View File

@@ -2,7 +2,11 @@
position:fixed;
left:20px;
bottom:0;
z-index:99999
z-index:99999;
strong {
margin-right: 30px;
}
}
.snackbar {
@@ -23,7 +27,11 @@
#snackbar-container {
left:0!important;
right:0;
width:100%
width:100%;
strong {
display: block;
}
}
#snackbar-container .snackbar {

View File

@@ -106,7 +106,7 @@
function launchSnackbar(params) {
var bar = $.snackbar({
content: "<strong>" + params.title + "</strong> &nbsp;&nbsp;&nbsp;&nbsp;" + params.message,
content: "<strong>" + params.title + "</strong>" + params.message,
timeout: 3000,
htmlAllowed: true
});