From 89e7898a78af0b28f26ef570fea3d5ebfaabb509 Mon Sep 17 00:00:00 2001 From: scarneiromarcelo-pixel Date: Sat, 18 Jul 2026 16:45:41 -0300 Subject: [PATCH] fix: center NPC trade window and fix chat console/toggle overlap (#1759) Style: - Updated the NPC trade and chat window layout for improved positioning. - Adjusted console sizing and spacing for a more balanced appearance. - Centered the trade window and refined chat mode toggle placement. --- modules/game_npctrade/templates/game_npctrader.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/game_npctrade/templates/game_npctrader.html b/modules/game_npctrade/templates/game_npctrader.html index 3d2c6a7d3..ab6707b79 100644 --- a/modules/game_npctrade/templates/game_npctrader.html +++ b/modules/game_npctrade/templates/game_npctrader.html @@ -55,9 +55,9 @@ .creature-display { width: 64px; height: 64px; margin-left: 10px; margin-top: 10px; } /* Chat & Console */ - .panelConsole { margin-top: 30px; --image-border: 4; padding: 1; padding-right: 12; padding-left: 4; padding-top: 4; padding-bottom: 4; height: 288px; --image-source: /images/ui/3pixel_frame_borderimage; } + .panelConsole { margin-top: 80px; --image-border: 4; padding: 1; padding-right: 12; padding-left: 4; padding-top: 4; padding-bottom: 4; height: 238px; --image-source: /images/ui/3pixel_frame_borderimage; } .inputConsole { margin-bottom: 10px; display: inline-block; width: 288px; margin-left: 15px; margin-top: 5px; --placeholder: "Type here to chat"; --placeholder-color: #6E706F} - .bottonChat { display: inline; margin-left: 2px; font: cipsoftFont; } + .bottonChat { display: inline; margin-left: 308px; margin-bottom: 10px; font: cipsoftFont; } /* Buttons Panel */ .panelBotons {height: 35px; margin-bottom: 39px; --focusable: false; width: 100%; margin-left: 15px;} @@ -119,7 +119,7 @@ - @@ -140,7 +140,7 @@ - +