diff --git a/components/public/artifact-image-export.tsx b/components/public/artifact-image-export.tsx index 228d3b9..4af2ab8 100644 --- a/components/public/artifact-image-export.tsx +++ b/components/public/artifact-image-export.tsx @@ -68,7 +68,7 @@ export function ArtifactImageExport({ const layoutRules = onlySection === "tierlist" ? ".artifact-export-grid{grid-template-columns:1fr!important}.artifact-export-tierlist{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}" : onlySection === "best-stats" - ? ".artifact-export-root{height:100%!important}.artifact-export-grid{grid-template-columns:1fr!important}.artifact-export-left{display:flex!important;flex-direction:column!important}.artifact-export-main-stats,.artifact-export-substats{width:480px!important;max-width:100%!important;margin-inline:auto!important}.artifact-export-main-stats{order:1!important}.artifact-export-substats{order:2!important}.artifact-export-right{width:100%!important}.guide-export-watermark{top:auto!important;bottom:16px!important}" + ? ".artifact-export-root{height:100%!important}.artifact-export-grid{grid-template-columns:1fr!important}.artifact-export-left{display:flex!important;flex-direction:column!important}.artifact-export-main-stats{width:480px!important;max-width:100%!important;margin-inline:auto!important}.artifact-export-right{width:100%!important}.guide-export-watermark{top:auto!important;bottom:16px!important}" : onlySection === "target-stats" || onlySection === "talents" ? ".artifact-export-grid{display:block!important}.artifact-export-right{width:560px!important;max-width:100%;margin-left:auto!important;margin-right:auto!important;justify-self:center!important}" : ""; diff --git a/components/public/structured-guide.tsx b/components/public/structured-guide.tsx index 9a137aa..9557be1 100644 --- a/components/public/structured-guide.tsx +++ b/components/public/structured-guide.tsx @@ -690,27 +690,27 @@ function ArtifactSectionContent({ elementIconUrls={guide.elementIconUrls} /> + {condition.substats.length ? ( + <> + + + {exportLabel(exporting, "ออฟรองที่ดีที่สุด", "Best Substats")} + + {condition.substats.map((stat, index) => ( + + ))} + + + > + ) : null} ) : null} - {condition.substats.length ? ( - - - {exportLabel(exporting, "ออฟรองที่ดีที่สุด", "Best Substats")} - - {condition.substats.map((stat, index) => ( - - ))} - - - - ) : null} - ));