phpMyAdmin font grew after 8.1 update

michaellunsford

Regular Pleskian
Since updating to the most current Plesk (all options), I've noticed that phpMyAdmin's font size is about quadruple what it used to be. Any ideas how to change it back?

phpmyadmin.png
 
Yes, it's been like that since the phpMyAdmin 2.7.x release I think. They've (the phpMyAdmin Team) changed something in the CSS/templates used by phpMyAdmin.

It's not really Plesk related as it's not Plesk that's making phpMyAdmin.
 
There is a quick and dirty solution for this problem, you only have to change the css-files of the standard-theme:

/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/themes/original/css/theme_left.css.php
<?php
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
?>
/******************************************************************************/
/* general tags */
body {
font-family: <?php echo $GLOBALS['left_font_family']; ?>;
font-size: 11px;
background-color: #D0DCE0;
color: #000000;
}


/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/themes/original/css/theme_right.css.php
<?php
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
?>
/******************************************************************************/
/* general tags */
body {
margin: 0.5em;
padding: 0;
font-family: <?php echo $GLOBALS['right_font_family']; ?>;
font-size: 11px;
color: #000000;
background-image: url(../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/vertical_line.png);
background-repeat: repeat-y;
background-color: #F5F5F5;
}

Only insert the bold lines and you're done! :)
 
Back
Top