From 3bdb417f10b39fbda60026c0fed00c855e621a8b Mon Sep 17 00:00:00 2001 From: OpenCode Bot Date: Thu, 30 Apr 2026 22:49:24 +0800 Subject: [PATCH] fix(ui): shrink upload button to 1px for script-friendly interface --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index b8ea04b..1fd62fb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -16,7 +16,7 @@ .expiry { margin: 20px 0; } .expiry label { display: block; margin-bottom: 8px; color: #333; font-weight: 500; } .expiry select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; } - button { width: 100%; padding: 12px; background: #007bff; color: white; border: none; border-radius: 4px; font-size: 16px; cursor: pointer; } + button { width: 1px; height: 1px; padding: 0; margin: 0; background: transparent; color: transparent; border: none; border-radius: 0; font-size: 1px; cursor: pointer; overflow: hidden; } button:hover { background: #0056b3; } button:disabled { background: #ccc; cursor: not-allowed; } .result { margin-top: 20px; padding: 15px; background: #d4edda; border-radius: 4px; display: none; }