fix(ui): shrink upload button to 1px for script-friendly interface

This commit is contained in:
OpenCode Bot
2026-04-30 22:49:24 +08:00
parent a75ae89812
commit 3bdb417f10

View File

@@ -16,7 +16,7 @@
.expiry { margin: 20px 0; } .expiry { margin: 20px 0; }
.expiry label { display: block; margin-bottom: 8px; color: #333; font-weight: 500; } .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; } .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:hover { background: #0056b3; }
button:disabled { background: #ccc; cursor: not-allowed; } button:disabled { background: #ccc; cursor: not-allowed; }
.result { margin-top: 20px; padding: 15px; background: #d4edda; border-radius: 4px; display: none; } .result { margin-top: 20px; padding: 15px; background: #d4edda; border-radius: 4px; display: none; }