diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-20 23:20:14 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-20 23:20:14 +0100 |
commit | a6f232f2b0613b8114424034da8814cffb566dd7 (patch) | |
tree | 1a7e7dc73fb49269d90696d925fe521366e237e2 /view/theme/redbasic | |
parent | cbcd1954618da8ba7013a42fcec5bff531535ba9 (diff) | |
download | volse-hubzilla-a6f232f2b0613b8114424034da8814cffb566dd7.tar.gz volse-hubzilla-a6f232f2b0613b8114424034da8814cffb566dd7.tar.bz2 volse-hubzilla-a6f232f2b0613b8114424034da8814cffb566dd7.zip |
really fix fullscreen and fix some issues in chat
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r-- | view/theme/redbasic/css/style.css | 11 | ||||
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 2 |
2 files changed, 10 insertions, 3 deletions
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 { |