diff --git a/classes/handler/public.php b/classes/handler/public.php index 79ed9d0aed..3b373edf53 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -929,7 +929,7 @@ function confirmOP() { } else { - print "

" . "Tiny Tiny RSS database is up to date." . "

"; + print_notice("Tiny Tiny RSS database is up to date."); print "

diff --git a/include/functions.php b/include/functions.php index e0c102b389..0908bf8d38 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2925,19 +2925,19 @@ function render_login_form() { function format_warning($msg, $id = "") { global $link; return "
- $msg
"; + $msg"; } function format_notice($msg, $id = "") { global $link; return "
- $msg
"; + $msg"; } function format_error($msg, $id = "") { global $link; return "
- $msg
"; + $msg"; } function print_notice($msg) { diff --git a/install/index.php b/install/index.php index 9cbab20f1f..416765e8f7 100644 --- a/install/index.php +++ b/install/index.php @@ -80,12 +80,13 @@ function sanity_check($db_type) { } function print_error($msg) { - print "
$msg
"; + print "
+ $msg
"; } function print_notice($msg) { print "
- $msg
"; + $msg"; } function db_connect($host, $user, $pass, $db, $type, $port) { diff --git a/tt-rss.css b/tt-rss.css index 8bf5913265..454e2ffd16 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -288,7 +288,12 @@ div.error { div.warning img, div.notice img, div.error img { margin-right : 4px; vertical-align : middle; +} + +div.warning span, div.notice span, div.error span { display : table-cell; + vertical-align : middle; + } ul.nomarks { diff --git a/utility.css b/utility.css index d4b6d0a02a..50a54e154e 100644 --- a/utility.css +++ b/utility.css @@ -73,6 +73,10 @@ div.error { div.warning img, div.notice img, div.error img { margin-right : 4px; + vertical-align : middle; +} + +div.warning span, div.notice span, div.error span { display : table-cell; vertical-align : middle; }