diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-20 20:59:46 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-20 20:59:46 +0100 |
commit | 837efcf5e73b7fbc81697bcb1257ef8cf6912cdd (patch) | |
tree | d0ef99b70cc7a6eff8383ff55914042ddae4866b /view/theme | |
parent | 8b0bcdb2a56ba7a8a9c55687d7dba26154fce83d (diff) | |
download | volse-hubzilla-837efcf5e73b7fbc81697bcb1257ef8cf6912cdd.tar.gz volse-hubzilla-837efcf5e73b7fbc81697bcb1257ef8cf6912cdd.tar.bz2 volse-hubzilla-837efcf5e73b7fbc81697bcb1257ef8cf6912cdd.zip |
fix fullscreen and bbco_autocomplete popup rendering
Diffstat (limited to 'view/theme')
-rw-r--r-- | view/theme/redbasic/css/style.css | 12 | ||||
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 9 |
2 files changed, 6 insertions, 15 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index b689b3209..3548e237f 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1364,19 +1364,13 @@ 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: absolute; - width: 100%; + position: fixed; top: 0px; left: 0px; + width: 100%; border-radius: 0px; + border-width: 0px; } main.fullscreen .section-title-wrapper { diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index b522f8dd1..8106f913d 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -73,17 +73,14 @@ $(document).ready(function() { function makeFullScreen(full) { if(typeof full=='undefined' || full == true) { - $('main').css({'transition': 'none'}).addClass('fullscreen'); - $('header, nav, aside, #fullscreen-btn').hide(); - $('#tabs-collapse-1').css({'visibility': 'hidden'}); + $('main').addClass('fullscreen'); + $('header, nav, aside, #fullscreen-btn').css({'visibility': 'hidden'}); $('#inline-btn').show(); } else { $('main').removeClass('fullscreen'); - $('header, nav, aside, #fullscreen-btn').show(); - $('#tabs-collapse-1').css({'visibility': ''}); + $('header, nav, aside, #fullscreen-btn').css({'visibility': ''}); $('#inline-btn').hide(); - $('main').css({'transition': ''}); $(document.body).trigger("sticky_kit:recalc"); } } |