From a6f232f2b0613b8114424034da8814cffb566dd7 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 20 Mar 2017 23:20:14 +0100 Subject: really fix fullscreen and fix some issues in chat --- view/theme/redbasic/css/style.css | 11 +++++++++-- view/theme/redbasic/js/redbasic.js | 2 +- view/tpl/chat.tpl | 18 +++++++++--------- 3 files changed, 19 insertions(+), 12 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index f233e9a76..fba5edc43 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1364,11 +1364,18 @@ img.mail-conv-sender-photo { word-wrap: break-word; } +main.fullscreen { + left: 0px; + width: 100%; + height: 100vh; + max-width: none; +} + main.fullscreen .generic-content-wrapper { - position: fixed; + position: absolute; + width: 100%; top: 0px; left: 0px; - width: 100%; border-radius: 0px; border-width: 0px; } diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 6aba457f1..995c7a504 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -74,7 +74,7 @@ $(document).ready(function() { function makeFullScreen(full) { if(typeof full=='undefined' || full == true) { $('main').addClass('fullscreen'); - $('header, nav, aside, #fullscreen-btn').hide(); + $('header, nav, aside, #fullscreen-btn').attr('style','display:none !important');; $('#inline-btn').show(); } else { diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl index 6a285dba4..22f3465bf 100644 --- a/view/tpl/chat.tpl +++ b/view/tpl/chat.tpl @@ -27,9 +27,9 @@
- + -
-
+
@@ -60,23 +60,23 @@
-
+
{{if $feature_encrypt}} -
+
{{/if}} -
+
-