diff --git a/main.py b/main.py index 5441a69..34a493b 100644 --- a/main.py +++ b/main.py @@ -20,7 +20,7 @@ import requests import yaml -VERSION = "2.4.0" +VERSION = "2.4.1" # === SMTP邮件配置 === @@ -1632,10 +1632,15 @@ def render_html_content( position: relative; } - .save-btn { + .save-buttons { position: absolute; top: 16px; right: 16px; + display: flex; + gap: 8px; + } + + .save-btn { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); color: white; @@ -1646,6 +1651,7 @@ def render_html_content( font-weight: 500; transition: all 0.2s ease; backdrop-filter: blur(10px); + white-space: nowrap; } .save-btn:hover { @@ -1658,6 +1664,11 @@ def render_html_content( transform: translateY(0); } + .save-btn:disabled { + opacity: 0.6; + cursor: not-allowed; + } + .header-title { font-size: 22px; font-weight: 700; @@ -2001,13 +2012,17 @@ def render_html_content( .news-item { gap: 8px; } .new-item { gap: 8px; } .news-number { width: 20px; height: 20px; font-size: 12px; } - .save-btn { + .save-buttons { position: static; margin-bottom: 16px; - display: block; - width: fit-content; - margin-left: auto; - margin-right: auto; + display: flex; + gap: 8px; + justify-content: center; + flex-direction: column; + width: 100%; + } + .save-btn { + width: 100%; } } @@ -2015,7 +2030,10 @@ def render_html_content(