Thilanka Kaushalya a écrit :
Hi Rouslan and Marc,
I had a quick look at the functionality that you worked on and I noticed that the font in the dialog is bigger than in the actual page behind. I'm not sure why this is happening, but I this was happening in my code as well. To fix this I specified a smaller font-size when creating the AJAX dialog. For example: $ajaxDialog = $('<div style="font-size: 0.9em;">'+data.message +'</div>').dialog({ /* options go here */ });
Thanks for your suggestion. But I'm not sure whether it is good to have inline styles in PMA because it makes difficult to maintain them in the future. If it id okay to do inline style, I'll fix that. I think Marc can comment on this problem.
Indeed, styling should normally go in each theme's CSS; but in jQuery you can use some class in the generated div and define this in the CSS for the two included themes.