Merge pull request #592 from tiwariav/bugfix/dcl_cms_section_iamge_caption
Bugfix/ dcl cms section image caption
This commit is contained in:
commit
7ef37de084
|
@ -549,6 +549,7 @@ textarea {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #999 !important;
|
color: #999 !important;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.price-calc-section .card {
|
.price-calc-section .card {
|
||||||
|
|
|
@ -107,11 +107,15 @@
|
||||||
var href = $(this).attr('href');
|
var href = $(this).attr('href');
|
||||||
$('.navbar-collapse').removeClass('in');
|
$('.navbar-collapse').removeClass('in');
|
||||||
$('.navbar-collapse').addClass('collapsing');
|
$('.navbar-collapse').addClass('collapsing');
|
||||||
|
if (href[0] === "#") {
|
||||||
if ($(href).length) {
|
if ($(href).length) {
|
||||||
$('html, body').animate({
|
$('html, body').animate({
|
||||||
scrollTop: $(href).offset().top - 50
|
scrollTop: $(href).offset().top - 50
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
} else if (href) {
|
||||||
|
window.location = href;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue