Merge branch '1476-Los-elementos-no-se-quedan-centrados-en-las-consolas-visuales-dev' into 'develop'

Fixed margin left and top in visual console

See merge request artica/pandorafms!1050
This commit is contained in:
vgilc 2017-11-15 10:18:02 +01:00
commit 93dd3c226f
3 changed files with 14 additions and 3 deletions

View File

@ -208,6 +208,11 @@ $ignored_params['refr'] = '';
$(".overlay").removeClass("overlay").addClass("overlaydisabled");
// Start the map fetch
//~ fetchMap();
});
$(window).load (function () {
$('.item:not(.icon) img:not(.b64img)').each( function() {
if ($(this).css('float')=='left' || $(this).css('float')=='right') {
if( $(this).parent()[0].tagName == 'DIV'){

View File

@ -183,7 +183,10 @@ $ignored_params['refr'] = '';
});
$(".overlay").removeClass("overlay").addClass("overlaydisabled");
});
$(window).load (function () {
$('.item:not(.icon) img').each(function(){

View File

@ -279,7 +279,10 @@ $ignored_params['refr'] = '';
});
$(".overlay").removeClass("overlay").addClass("overlaydisabled");
});
$(window).load (function () {
$('.item:not(.icon) img:not(.b64img)').each( function() {
if ($(this).css('float')=='left' || $(this).css('float')=='right') {
if( $(this).parent()[0].tagName == 'DIV'){
@ -332,6 +335,6 @@ $ignored_params['refr'] = '';
height = parseInt($(this).css("height")) - 30;
$(this).css('height', height);
});
});
</script>