Fix bug.
This commit is contained in:
parent
ed254c1792
commit
c409eab1db
|
@ -11,6 +11,11 @@
|
|||
this.replaceWith(new_html);
|
||||
}
|
||||
});
|
||||
try{
|
||||
var isMobile = (window.matchMedia ? window.matchMedia("(any-pointer:coarse)").matches : ("ontouchstart" in document.documentElement));
|
||||
}catch(e){
|
||||
var isMobile = false;
|
||||
}
|
||||
function fix_first_element(force_fix) {
|
||||
if(!force_fix && window.already_fix_first_element){
|
||||
return;
|
||||
|
@ -706,6 +711,7 @@ function transdate(){
|
|||
window.temp_scrollY = document.documentElement.scrollTop;
|
||||
window.temp_scrollX = document.documentElement.scrollLeft;
|
||||
}
|
||||
if(!isMobile){
|
||||
$(document).on('focusin','*',function(event){
|
||||
// event.stopPropagation();
|
||||
if(window.focus_timeout_id){
|
||||
|
@ -733,6 +739,7 @@ function transdate(){
|
|||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
$('.group').each(function(){
|
||||
if ($(this).text().trim()==''){
|
||||
$(this).css('padding',0);
|
||||
|
|
|
@ -147,12 +147,18 @@ body{
|
|||
.w-ba-banner{
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
align-items: center;
|
||||
.w-ba-banner__wrap{
|
||||
flex: 0 0 65%;
|
||||
}
|
||||
.ad-overlay{
|
||||
position: relative;
|
||||
background: none;
|
||||
width: 35%;
|
||||
p{
|
||||
max-width: 100%;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue