diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index aaceecef..5a0479fe 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -12,7 +12,7 @@ class Adminer { * @return string HTML code */ function name(): string { - return "Adminer"; + return "Adminer"; } /** Connection parameters diff --git a/adminer/static/default.css b/adminer/static/default.css index 6c5a8ce0..f41a822e 100644 --- a/adminer/static/default.css +++ b/adminer/static/default.css @@ -88,7 +88,7 @@ input.wayoff { left: -1000px; position: absolute; } #lang { position: absolute; top: -2.6em; left: 0; padding: .3em 1em; } #menuopen { display: none; } #breadcrumb { white-space: nowrap; position: absolute; top: 0; left: 21em; background: #eee; height: 2em; line-height: 1.8em; padding: 0 1em; margin: 0 0 0 -18px; } -#logo { width: 24px; height: 24px; background-size: cover; display: inline-block; background-image: url(logo.png); margin-bottom: -3px; } +#logo { vertical-align: baseline; margin-bottom: -3px; } #h1 { color: #777; text-decoration: none; font-style: italic; } #version { color: red; } #schema { margin-left: 60px; position: relative; user-select: none; -webkit-user-select: none; } diff --git a/compile.php b/compile.php index e7a79d18..74de76d1 100755 --- a/compile.php +++ b/compile.php @@ -193,7 +193,7 @@ function minify_css($file) { $file = preg_replace('~.*url\(data:image/gif.*~', '', $file); } $file = preg_replace_callback('~url\((\w+\.(gif|png|jpg))\)~', function ($match) { - return "url(data:image/$match[2];base64," . base64_encode(file_get_contents(__DIR__ . "/adminer/static/$match[1]")) . ")"; // we don't have ME in *.css; logo.png is still used for apple-touch-icon + return "url(data:image/$match[2];base64," . base64_encode(file_get_contents(__DIR__ . "/adminer/static/$match[1]")) . ")"; // we don't have ME in *.css so we can only inline images }, $file); return lzw_compress(preg_replace('~\s*([:;{},])\s*~', '\1', preg_replace('~/\*.*?\*/\s*~s', '', $file))); } diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index e7653202..943e5b68 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -7,7 +7,7 @@ class Adminer { private $values = array(); function name() { - return "" . lang('Editor') . ""; + return "" . lang('Editor') . ""; } //! driver, ns