mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-25 01:12:46 +00:00
Use <div> instead of <p> for avatars
This commit is contained in:
parent
0d36e13bd3
commit
eaee415b66
@ -18,6 +18,7 @@
|
|||||||
.navbar {
|
.navbar {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
@ -116,7 +117,6 @@ tr.hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.litebans-label-container {
|
.litebans-label-container {
|
||||||
width: 0;
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -183,3 +183,12 @@ tr.hover {
|
|||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* prevent alignment */
|
||||||
|
.noalign-w {
|
||||||
|
width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.noalign-h {
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
@ -227,10 +227,10 @@ class Page {
|
|||||||
$str = "{$img}$name";
|
$str = "{$img}$name";
|
||||||
if ($name_under) {
|
if ($name_under) {
|
||||||
$str = "{$img}<br class='noselect'>$name";
|
$str = "{$img}<br class='noselect'>$name";
|
||||||
return "<p align='center'>$str</p>";
|
return "<div align='center'>$str</div>";
|
||||||
}
|
}
|
||||||
if ($name_left) {
|
if ($name_left) {
|
||||||
return "<p align='left'>$str</p>";
|
return "<div align='left'>$str</div>";
|
||||||
}
|
}
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
2
info.php
2
info.php
@ -180,7 +180,7 @@ if ($st->execute(array($id))) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$page->print_header(true, $header . "<div class=\"litebans-label-container\">$badges</div>");
|
$page->print_header(true, $header . "<div class=\"noalign-w litebans-label-container\">$badges</div>");
|
||||||
|
|
||||||
$map = $info->basic_info($row, $player_name);
|
$map = $info->basic_info($row, $player_name);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user