From 56cc1f6e2ea7f4433ce0312c77d776d68de6ea96 Mon Sep 17 00:00:00 2001 From: kicer Date: Tue, 28 Jul 2026 20:44:04 +0800 Subject: [PATCH] fix css --- server/public/css/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/public/css/style.css b/server/public/css/style.css index 774a641..108cd74 100644 --- a/server/public/css/style.css +++ b/server/public/css/style.css @@ -1,9 +1,9 @@ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; height: 100vh; display: flex; justify-content: center; align-items: center; } -.app { width: 100%; max-width: 420px; height: 100vh; background: #fff; display: flex; flex-direction: column; box-shadow: 0 0 20px rgba(0,0,0,0.1); position: relative; } +.app { width: 100%; height: 100vh; background: #fff; display: flex; flex-direction: column; box-shadow: 0 0 20px rgba(0,0,0,0.1); position: relative; } .hidden { display: none !important; } -.header { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: #fff; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; min-height: 48px; } +.header { background: #2a5298; color: #fff; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; min-height: 48px; } .header-left { display: flex; align-items: center; gap: 8px; cursor: pointer; } .header-left h2 { font-size: 18px; font-weight: 500; } .icon-btn { background: none; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 50%; } @@ -29,7 +29,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans- .summary-card .summary-preview { font-size: 14px; color: #555; } .chat-window { display: flex; flex-direction: column; height: 100%; } -.chat-header { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: #fff; padding: 0 16px; display: flex; align-items: center; min-height: 48px; } +.chat-header { background: #2a5298; color: #fff; padding: 0 16px; display: flex; align-items: center; min-height: 48px; } .header .back-btn { margin-right: 12px; } .chat-header .back-btn { margin-right: 12px; } .chat-title { font-size: 17px; font-weight: 500; flex: 1; } @@ -120,7 +120,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans- /* 可编辑详情弹窗 */ .detail-modal { max-height: 90vh; overflow-y: auto; padding: 0; } .detail-modal input, .detail-modal select, .detail-modal textarea { margin: 0; } -.detail-header { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: #fff; padding: 8px 12px 8px 16px; display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 1; } +.detail-header { background: #2a5298; color: #fff; padding: 8px 12px 8px 16px; display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 1; } .detail-header .icon-btn { padding:0; margin-right:0; flex-shrink: 0; margin-left: auto; } .detail-header .icon-btn svg { stroke: #fff; } .modal .detail-title-input { flex: 1; font-size: 18px; font-weight: 600; color: #fff; background: transparent; border: none; outline: none; padding: 4px 0; min-width: 0; }