fix fullscreen and bbco_autocomplete popup rendering
This commit is contained in:
parent
8b0bcdb2a5
commit
837efcf5e7
@ -70,6 +70,10 @@ function smiley_format(item) {
|
|||||||
return "<div class='dropdown-item'>" + item.icon + ' ' + item.text + "</div>";
|
return "<div class='dropdown-item'>" + item.icon + ' ' + item.text + "</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function bbco_format(item) {
|
||||||
|
return "<div class='dropdown-item'>" + item + "</div>";
|
||||||
|
}
|
||||||
|
|
||||||
function editor_replace(item) {
|
function editor_replace(item) {
|
||||||
if(typeof item.replace !== 'undefined') {
|
if(typeof item.replace !== 'undefined') {
|
||||||
return '$1$2' + item.replace;
|
return '$1$2' + item.replace;
|
||||||
@ -326,7 +330,8 @@ function string2bb(element) {
|
|||||||
else {
|
else {
|
||||||
return '\[' + element + '\] ';
|
return '\[' + element + '\] ';
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
template: bbco_format
|
||||||
};
|
};
|
||||||
|
|
||||||
this.attr('autocomplete','off');
|
this.attr('autocomplete','off');
|
||||||
|
@ -1364,19 +1364,13 @@ img.mail-conv-sender-photo {
|
|||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
main.fullscreen {
|
|
||||||
left: 0px;
|
|
||||||
width: 100%;
|
|
||||||
height: 100vh;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
main.fullscreen .generic-content-wrapper {
|
main.fullscreen .generic-content-wrapper {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
width: 100%;
|
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
|
width: 100%;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
|
border-width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
main.fullscreen .section-title-wrapper {
|
main.fullscreen .section-title-wrapper {
|
||||||
|
@ -73,17 +73,14 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
function makeFullScreen(full) {
|
function makeFullScreen(full) {
|
||||||
if(typeof full=='undefined' || full == true) {
|
if(typeof full=='undefined' || full == true) {
|
||||||
$('main').css({'transition': 'none'}).addClass('fullscreen');
|
$('main').addClass('fullscreen');
|
||||||
$('header, nav, aside, #fullscreen-btn').hide();
|
$('header, nav, aside, #fullscreen-btn').css({'visibility': 'hidden'});
|
||||||
$('#tabs-collapse-1').css({'visibility': 'hidden'});
|
|
||||||
$('#inline-btn').show();
|
$('#inline-btn').show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$('main').removeClass('fullscreen');
|
$('main').removeClass('fullscreen');
|
||||||
$('header, nav, aside, #fullscreen-btn').show();
|
$('header, nav, aside, #fullscreen-btn').css({'visibility': ''});
|
||||||
$('#tabs-collapse-1').css({'visibility': ''});
|
|
||||||
$('#inline-btn').hide();
|
$('#inline-btn').hide();
|
||||||
$('main').css({'transition': ''});
|
|
||||||
$(document.body).trigger("sticky_kit:recalc");
|
$(document.body).trigger("sticky_kit:recalc");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div id="id_{{$commitMsg.0}}_wrapper" class="field input">
|
<div id="id_{{$commitMsg.0}}_wrapper" class="field input">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input class="widget-input" name="{{$commitMsg.0}}" id="id_{{$commitMsg.0}}" type="text" value="{{$commitMsg.2}}"{{if $commitMsg.5}} {{$commitMsg.5}}{{/if}}>
|
<input class="form-control form-control-sm" name="{{$commitMsg.0}}" id="id_{{$commitMsg.0}}" type="text" value="{{$commitMsg.2}}"{{if $commitMsg.5}} {{$commitMsg.5}}{{/if}}>
|
||||||
<div class="input-group-btn">
|
<div class="input-group-btn">
|
||||||
<button id="save-page" type="button" class="btn btn-primary disabled">Save</button>
|
<button id="save-page" type="button" class="btn btn-primary disabled">Save</button>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user