Merge branch '2346-Pequeño-fallo-Consola-VIsual' into 'develop'

Fixed visual bug

See merge request artica/pandorafms!1566
This commit is contained in:
slerena 2018-06-25 18:57:13 +02:00
commit c0e63bd1a0
2 changed files with 2 additions and 1 deletions

View File

@ -196,7 +196,7 @@ $ignored_params['refr'] = '';
$('body').css('margin','0');
$('body').css('height','100%');
$('body').css('overflow','hidden');
$('p').css('margin-top','25px');
$(".module_graph .menu_graph").css('display','none');
$(".parent_graph").each(function(){

View File

@ -311,6 +311,7 @@ $ignored_params['refr'] = '';
});
$('.item > div').each( function() {
$(this).css('margin-bottom','20px');
if ($(this).css('float')=='left' || $(this).css('float')=='right') {
if($(this).attr('id').indexOf('clock') || $(this).attr('id').indexOf('overlay')){
$(this).css('margin-top',(parseInt($(this).parent().css('height'))/2-parseInt($(this).css('height'))/2)+'px');