Opera for Mac needs lower font sizes
This commit is contained in:
@@ -632,23 +632,24 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
||||
: 'x-small';
|
||||
$font_smallest = 'x-small';
|
||||
}
|
||||
// Mac browsers: need bigger fonts except IE 5+ & NS 6+ and OmniWeb
|
||||
// Some mac browsers need also smaller default fonts size (OmniWeb &
|
||||
// Opera)...
|
||||
else if (PMA_USR_OS == 'Mac'
|
||||
&& ((PMA_USR_BROWSER_AGENT != 'IE' && PMA_USR_BROWSER_AGENT != 'MOZILLA') || PMA_USR_BROWSER_VER < 5)
|
||||
&& (PMA_USR_BROWSER_AGENT != 'OMNIWEB')) {
|
||||
$font_size = 'medium';
|
||||
$font_bigger = 'x-large';
|
||||
$font_smaller = 'small';
|
||||
$font_smallest = 'x-small';
|
||||
}
|
||||
// OmniWeb for mac
|
||||
else if (PMA_USR_OS == 'Mac'
|
||||
&& PMA_USR_BROWSER_AGENT == 'OMNIWEB') {
|
||||
&& (PMA_USR_BROWSER_AGENT == 'OMNIWEB' || PMA_USR_BROWSER_AGENT == 'OPERA')) {
|
||||
$font_size = 'x-small';
|
||||
$font_bigger = 'large';
|
||||
$font_smaller = '90%';
|
||||
$font_smallest = '7pt';
|
||||
}
|
||||
// ... but most of them (except IE 5+ & NS 6+) need bigger fonts
|
||||
else if (PMA_USR_OS == 'Mac'
|
||||
&& ((PMA_USR_BROWSER_AGENT != 'IE' && PMA_USR_BROWSER_AGENT != 'MOZILLA')
|
||||
|| PMA_USR_BROWSER_VER < 5)) {
|
||||
$font_size = 'medium';
|
||||
$font_bigger = 'x-large';
|
||||
$font_smaller = 'small';
|
||||
$font_smallest = 'x-small';
|
||||
}
|
||||
else {
|
||||
$font_size = 'small';
|
||||
$font_bigger = 'large';
|
||||
|
Reference in New Issue
Block a user