diff --git a/less/mobile.less b/less/mobile.less index da2838c..1b769ca 100644 --- a/less/mobile.less +++ b/less/mobile.less @@ -12,7 +12,27 @@ display: none; } -@media (max-width: 980px) { +@media (max-width: @screen-sm-max) { + .chat-modal { + width: 100%; + height: 100%; + top: 0px !important; + left: 0px !important; + + .modal-dialog { + margin: 0; + height: 100%; + width: 100%; + + .modal-content { + height: 100%; + } + } + + } +} + +@media (max-width: @screen-md-max) { body { padding-top: 0; padding-bottom: 0; diff --git a/less/style.less b/less/style.less index 416f459..751f35d 100644 --- a/less/style.less +++ b/less/style.less @@ -170,24 +170,6 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus { z-index: 100001; } -@media (max-width: 760px) { - .chat-modal { - width: 100%; - height: 100%; - top: 0px !important; - left: 0px !important; - - .modal-dialog { - margin: 0; - height: 100%; - .modal-content { - height: 100%; - } - } - - } -} - .maintenance { .well { white-space: pre-line; diff --git a/templates/chat.tpl b/templates/chat.tpl index 87794e7..14cda4d 100644 --- a/templates/chat.tpl +++ b/templates/chat.tpl @@ -5,7 +5,7 @@