diff --git a/client/css/style.css b/client/css/style.css index 5e0d6e0..f3e20e0 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -38,6 +38,9 @@ button { outline: none; padding: 0; } +.web-app-mode { + padding-top: 20px; +} .tooltip-inner { background: #fff; border-radius: 2px; diff --git a/client/js/shout.js b/client/js/shout.js index ee5ad9c..afc2db5 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -31,6 +31,10 @@ $(function() { var sidebar = $("#sidebar, #footer"); var chat = $("#chat"); + if (navigator.standalone) { + $("html").addClass("web-app-mode"); + } + try { var pop = new Audio(); pop.src = "/audio/pop.ogg";