diff --git a/scripts/debug_render.py b/scripts/debug_render.py index e3ba590..6180fe6 100644 --- a/scripts/debug_render.py +++ b/scripts/debug_render.py @@ -135,7 +135,7 @@ async def debug_render( reason="总能精准接住每一个冷笑话,让群里充满快活的气息。", ), UserTitle( - name="王五", + name="https://www.example.com/very/long/url/that/might/overflow/the/container/if/word/break/is/not/set/correctly/and/it/keeps/going/and/going/forever", qq=112233445, title="深夜潜水员", mbti="INFP", @@ -178,7 +178,7 @@ async def debug_render( def main() -> None: parser = argparse.ArgumentParser( - description="Debug render tool for astrbot-qq-group-daily-analysis report templates." + description="Debug render tool for astrbot_plugin_qq_group_daily_analysis report templates." ) parser.add_argument( "-t", diff --git a/src/reports/templates/format/image_template.html b/src/reports/templates/format/image_template.html index 0bdeea2..f68f407 100644 --- a/src/reports/templates/format/image_template.html +++ b/src/reports/templates/format/image_template.html @@ -523,7 +523,7 @@ {{quotes_html}}
diff --git a/src/reports/templates/format/pdf_template.html b/src/reports/templates/format/pdf_template.html index 0bdeea2..f68f407 100644 --- a/src/reports/templates/format/pdf_template.html +++ b/src/reports/templates/format/pdf_template.html @@ -523,7 +523,7 @@ {{quotes_html}} diff --git a/src/reports/templates/retro_futurism/image_template.html b/src/reports/templates/retro_futurism/image_template.html index b23309c..b92c946 100644 --- a/src/reports/templates/retro_futurism/image_template.html +++ b/src/reports/templates/retro_futurism/image_template.html @@ -92,9 +92,17 @@ height: 5px; } - .cb-1 { background: var(--c-dec-1); } - .cb-2 { background: var(--c-dec-2); } - .cb-3 { background: var(--c-dec-3); } + .cb-1 { + background: var(--c-dec-1); + } + + .cb-2 { + background: var(--c-dec-2); + } + + .cb-3 { + background: var(--c-dec-3); + } /* Header */ header { @@ -214,9 +222,17 @@ flex-shrink: 0; } - .crt-btn-1 { background: var(--c-dec-1); } - .crt-btn-2 { background: var(--c-dec-2); } - .crt-btn-3 { background: var(--c-dec-3); } + .crt-btn-1 { + background: var(--c-dec-1); + } + + .crt-btn-2 { + background: var(--c-dec-2); + } + + .crt-btn-3 { + background: var(--c-dec-3); + } .crt-title { margin-left: 12px; @@ -771,17 +787,20 @@ @@ -888,10 +907,10 @@ Prompt // {{prompt_tokens}} Completion // {{completion_tokens}} - +