v.2.3
front fix
This commit is contained in:
@@ -37,12 +37,14 @@
|
|||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$('#get-more-newyear').modal('show');
|
$('#get-more-newyear').modal('show');
|
||||||
}, delayMs);
|
}, delayMs);
|
||||||
if ($( window ).width() < 700) {
|
if ($( window ).width() < 800) {
|
||||||
$('#get-more-newyear').on('show.bs.modal', function () {
|
$('#get-more-newyear').on('show.bs.modal', function () {
|
||||||
$('.modal-dialog').css('margin',0);
|
$('.modal-dialog').css('margin-right',$( window ).width()-$( window ).width());
|
||||||
|
$('.modal-dialog').css('margin-left',$( window ).width()-$( window ).width());
|
||||||
|
$('.modal-dialog').css('margin-top',$( window ).height()-$( window ).height());
|
||||||
$('.modal-content').css('height',$( window ).height()*0.95);
|
$('.modal-content').css('height',$( window ).height()*0.95);
|
||||||
$('.modal-content').css('width',$( window ).width());
|
$('.modal-content').css('width',$( window ).width());
|
||||||
$('.myCarousel').css('height', $( window ).height()*0.95);
|
$('.myCarousel').css('height', $( window ).height()*0.94);
|
||||||
$('.myCarousel').css('width', 'auto');
|
$('.myCarousel').css('width', 'auto');
|
||||||
$('.myCarousel').css('object-fit', 'cover');
|
$('.myCarousel').css('object-fit', 'cover');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user