From 8909b8c3861efcaa47715873e3b391c1d503cf98 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 8 Apr 2026 14:55:29 +0800 Subject: [PATCH] fix: avoid clipping douyu report shadows --- plugins/douyu/report_template.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/douyu/report_template.py b/plugins/douyu/report_template.py index 5c54fbc..5bd0c37 100644 --- a/plugins/douyu/report_template.py +++ b/plugins/douyu/report_template.py @@ -239,7 +239,7 @@ def render_daily_report_html( * {{ box-sizing: border-box; }} body {{ margin: 0; - padding: 28px; + padding: 34px; background: radial-gradient(circle at 0% 0%, rgba(43, 89, 255, 0.08), transparent 24%), radial-gradient(circle at 100% 0%, rgba(31, 168, 160, 0.10), transparent 20%), @@ -252,13 +252,14 @@ def render_daily_report_html( margin: 0 auto; background: var(--paper); border-radius: 34px; - overflow: hidden; + overflow: visible; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.6); }} .hero {{ position: relative; padding: 34px 40px 30px; + border-radius: 34px 34px 0 0; background: radial-gradient(circle at 18% 18%, rgba(255,255,255,0.12), transparent 18%), radial-gradient(circle at 84% 14%, rgba(255,255,255,0.11), transparent 19%),