From 1701d4862993aeae0d18d97338728f0b2a114a7f Mon Sep 17 00:00:00 2001 From: Znote Date: Thu, 22 Jul 2021 01:38:28 +0200 Subject: [PATCH] Better display of equipped items Characterprofile now supports displaying items that might not be perfectly rendered in 32x32 px size. --- characterprofile.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/characterprofile.php b/characterprofile.php index 5f3e92d..33a9055 100644 --- a/characterprofile.php +++ b/characterprofile.php @@ -315,8 +315,9 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false) {
- "> +
+ "> +
Cap:
@@ -455,7 +456,12 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false) { background-color: rgba(0,0,0,0.7); border-radius: 3px; } - #piv_flex .itm { background-image: url("/engine/img/bg.png"); } + #piv_flex .itm { + background-image: url("/engine/img/bg.png"); + width: 32px; + height: 32px; + position: absolute; + } #piv_flex .itm-1 { left: 48px; top: 39px; } #piv_flex .itm-2 { left: 11px; top: 53px; } #piv_flex .itm-3 { left: 85px; top: 53px; }