[Phpmyadmin-devel] AJAXify phpMyAdmin Interface - GSOC 2011 - Table->Browse ->Mutiple rows-> Change
Marc Delisle
marc at infomarc.info
Tue Jun 21 17:51:05 CEST 2011
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.
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list