From e11d3e9d1f31faa0cf245fa9d8ff4aa1e4c64b40 Mon Sep 17 00:00:00 2001 From: Nuno Vieira Date: Sun, 17 Sep 2023 23:59:47 +0100 Subject: [PATCH 1/2] Fixed bars too long and with no space to the slots --- html/css/main.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/html/css/main.css b/html/css/main.css index 692dd9a1d..faee9e771 100644 --- a/html/css/main.css +++ b/html/css/main.css @@ -319,8 +319,8 @@ body { .player-inv-info { position: absolute; left: 14.5%; - top: 22.2%; - width: 695px; + top: 20%; + width: 530px; } #player-inv-label { @@ -403,8 +403,8 @@ body { .other-inv-info { position: absolute; left: 56%; - top: 22.2%; - width: 695px; + top: 20%; + width: 530px; } .ply-iteminfo-container { From 0d8121c1386db184c622ab5eaef3c94e0cc92420 Mon Sep 17 00:00:00 2001 From: Nuno Vieira Date: Tue, 19 Sep 2023 13:39:24 +0100 Subject: [PATCH 2/2] Fixed bars too long for 1920x1080 --- html/css/main.css | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/html/css/main.css b/html/css/main.css index faee9e771..5acd78efa 100644 --- a/html/css/main.css +++ b/html/css/main.css @@ -319,8 +319,8 @@ body { .player-inv-info { position: absolute; left: 14.5%; - top: 20%; - width: 530px; + top: 22.2%; + width: 695px; } #player-inv-label { @@ -403,8 +403,8 @@ body { .other-inv-info { position: absolute; left: 56%; - top: 20%; - width: 530px; + top: 22.2%; + width: 695px; } .ply-iteminfo-container { @@ -929,4 +929,20 @@ body { .weapon-attachments-back:hover { background-color: rgb(18, 18, 18); +} + + +@media screen and (max-width: 1920px) { + .player-inv-info { + position: absolute; + left: 14.5%; + top: 21%; + width: 530px; + } + .other-inv-info { + position: absolute; + left: 56%; + top: 21%; + width: 530px; + } } \ No newline at end of file