really fix fullscreen and fix some issues in chat

This commit is contained in:
Mario Vavti
2017-03-20 23:20:14 +01:00
parent cbcd195461
commit a6f232f2b0
3 changed files with 20 additions and 13 deletions

View File

@@ -1364,11 +1364,18 @@ img.mail-conv-sender-photo {
word-wrap: break-word;
}
main.fullscreen .generic-content-wrapper {
position: fixed;
top: 0px;
main.fullscreen {
left: 0px;
width: 100%;
height: 100vh;
max-width: none;
}
main.fullscreen .generic-content-wrapper {
position: absolute;
width: 100%;
top: 0px;
left: 0px;
border-radius: 0px;
border-width: 0px;
}

View File

@@ -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 {