From bfd9f1765d8b17e9a5ea8b084a1fcef357c0b187 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Sat, 26 Sep 2026 14:40:03 +0700 Subject: [PATCH] fix : allow team combo break line --- components/public/guide-image-export.tsx | 1 + components/public/team-search.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/public/guide-image-export.tsx b/components/public/guide-image-export.tsx index 866d9cd..604dfba 100644 --- a/components/public/guide-image-export.tsx +++ b/components/public/guide-image-export.tsx @@ -96,6 +96,7 @@ function fitExportText(root: HTMLElement) { const candidates = Array.from(root.querySelectorAll("*")) .filter((element) => directTextContent(element)) + .filter((element) => !element.closest("[data-export-allow-wrap]")) .filter((element) => { const style = getComputedStyle(element); return style.display !== "none" && style.visibility !== "hidden"; diff --git a/components/public/team-search.tsx b/components/public/team-search.tsx index 61580fe..9f8d359 100644 --- a/components/public/team-search.tsx +++ b/components/public/team-search.tsx @@ -225,7 +225,7 @@ function TeamExportImage({ team }: { team: Team }) { ); })} -

{team.combo}

+

{team.combo}

DPS: {seconds > 0 ? (total / seconds).toLocaleString("en-US", { maximumFractionDigits: 0 }) : "0"}
By YT เกนชินไม่ใช่เกมมือถือ