From 1e2ebddf7c8450c83226b05a0cd2991a6d05750b Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 12 Oct 2005 10:30:27 +0000 Subject: [PATCH] revert icon size to fixed width and height --- ChangeLog | 2 ++ css/phpmyadmin.css.php | 6 +----- libraries/common.lib.php | 3 +-- themes/darkblue_orange/css/theme_left.css.php | 2 -- themes/darkblue_orange/css/theme_right.css.php | 4 +--- themes/original/css/theme_left.css.php | 8 -------- themes/original/css/theme_right.css.php | 4 +--- 7 files changed, 6 insertions(+), 23 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7434c964d..c76907220 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ $Source$ themes/original/css/theme_right.css.php: use list for navigation tabs RFE #1290423 * db_details_structure.php: fixed NOTICE + * css/phpmyadmin.css.php, themes/*/css/theme_*.css.php: + revert icon size to fixed width and height 2005-10-12 Michal Čihař * libraries/get_foreign.lib.php: Fix paging. diff --git a/css/phpmyadmin.css.php b/css/phpmyadmin.css.php index 03e091217..bd5c60584 100644 --- a/css/phpmyadmin.css.php +++ b/css/phpmyadmin.css.php @@ -125,8 +125,6 @@ div#left_tableList li:hover { div#left_tableList img { - height: 1em; - width: auto; padding: 0; vertical-align: middle; } @@ -263,9 +261,7 @@ ul#topmenu li { } #topmenu img { - height: 1.3em; - width: auto; - vertical-align: text-bottom; + vertical-align: middle; margin-right: 0.1em; } diff --git a/libraries/common.lib.php b/libraries/common.lib.php index cb77feb1c..413c431d8 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -2440,8 +2440,7 @@ if (typeof(document.getElementById) != 'undefined' $tab_navigation .= '' . "\n" - .'
' - .'' . "\n"; + .'
' . "\n"; return $tab_navigation; } diff --git a/themes/darkblue_orange/css/theme_left.css.php b/themes/darkblue_orange/css/theme_left.css.php index 9e45d3568..ae5aab044 100644 --- a/themes/darkblue_orange/css/theme_left.css.php +++ b/themes/darkblue_orange/css/theme_left.css.php @@ -77,8 +77,6 @@ div#left_tableList li:hover { div#left_tableList img { - height: 1em; - width: auto; vertical-align: middle; } diff --git a/themes/darkblue_orange/css/theme_right.css.php b/themes/darkblue_orange/css/theme_right.css.php index 0d006e23c..fe4715fc4 100644 --- a/themes/darkblue_orange/css/theme_right.css.php +++ b/themes/darkblue_orange/css/theme_right.css.php @@ -217,9 +217,7 @@ ul#topmenu li { } #topmenu img { - height: 1.3em; - width: auto; - vertical-align: text-bottom; + vertical-align: middle; margin-right: 0.1em; } diff --git a/themes/original/css/theme_left.css.php b/themes/original/css/theme_left.css.php index de27403ad..1d127e1b6 100644 --- a/themes/original/css/theme_left.css.php +++ b/themes/original/css/theme_left.css.php @@ -22,12 +22,6 @@ div#databaseList { padding-bottom: 0.5em; } -div#pmalogo img#imgpmalogo { - width: 100%; - max-width: 11em; - height: auto; -} - div#leftframelinks img { vertical-align: middle; } @@ -78,8 +72,6 @@ div#left_tableList li:hover { div#left_tableList img { - height: 1em; - width: auto; vertical-align: middle; } diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index 08fd6ea00..0a5ddf521 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -129,9 +129,7 @@ ul#topmenu li { } #topmenu img { - height: 1.3em; - width: auto; - vertical-align: text-bottom; + vertical-align: middle; margin-right: 0.1em; }