From d0889d52505e207b917fe0b3491d596a5c91fcb9 Mon Sep 17 00:00:00 2001 From: nntrivi2001 Date: Tue, 3 Nov 2026 13:05:49 +0700 Subject: [PATCH] fix(pet): the pet window no longer scrolls sideways The status chips' row needs ~340 px; the window was 320 and its body's overflow-y:auto made x scrollable too, so a horizontal scrollbar showed and Clear alerts was cut. 22rem wide (capped to the viewport), x hidden. --- client/src/components/Sagi/PetPanel.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/components/Sagi/PetPanel.tsx b/client/src/components/Sagi/PetPanel.tsx index d0527640..3e2f0f49 100644 --- a/client/src/components/Sagi/PetPanel.tsx +++ b/client/src/components/Sagi/PetPanel.tsx @@ -32,7 +32,7 @@ export function PetPanel({ const { t } = useTranslation("settings"); return (
@@ -54,7 +54,9 @@ export function PetPanel({
-
{info}
+ {/* Vertical only: an auto overflow-y makes x scrollable too, and the + status chips' row then showed a horizontal scrollbar. */} +
{info}
); }