From eaee415b668f8981dfac762c910fdc3c7dd3c7f0 Mon Sep 17 00:00:00 2001 From: ruan Date: Sat, 1 Sep 2018 14:38:54 +0200 Subject: [PATCH] Use
instead of

for avatars --- inc/css/custom.css | 11 ++++++++++- inc/page.php | 4 ++-- info.php | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/inc/css/custom.css b/inc/css/custom.css index 6cdcbd9..2e1a9b8 100644 --- a/inc/css/custom.css +++ b/inc/css/custom.css @@ -18,6 +18,7 @@ .navbar { font-weight: bold; } + .navbar-brand { font-weight: normal; } @@ -116,7 +117,6 @@ tr.hover { } .litebans-label-container { - width: 0; display: inline-flex; } @@ -183,3 +183,12 @@ tr.hover { -ms-user-select: none; user-select: none; } + +/* prevent alignment */ +.noalign-w { + width: 0; +} + +.noalign-h { + height: 0; +} diff --git a/inc/page.php b/inc/page.php index d37a7ff..232bda5 100644 --- a/inc/page.php +++ b/inc/page.php @@ -227,10 +227,10 @@ class Page { $str = "{$img}$name"; if ($name_under) { $str = "{$img}
$name"; - return "

$str

"; + return "
$str
"; } if ($name_left) { - return "

$str

"; + return "
$str
"; } return $str; } diff --git a/info.php b/info.php index b5fb7d5..d8e7a49 100644 --- a/info.php +++ b/info.php @@ -180,7 +180,7 @@ if ($st->execute(array($id))) { } } } - $page->print_header(true, $header . "
$badges
"); + $page->print_header(true, $header . "
$badges
"); $map = $info->basic_info($row, $player_name);