feat(ui): show h1 status text, keep 1px form elements hidden

This commit is contained in:
OpenCode Bot
2026-05-10 15:34:44 +08:00
parent 75ba11dce2
commit 37989db6ae

View File

@@ -7,8 +7,8 @@
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { margin: 0; padding: 0; }
.container { width: 1px; height: 1px; overflow: hidden; }
h1 { font-size: 1px; color: transparent; height: 1px; overflow: hidden; }
.container { width: auto; height: auto; overflow: visible; }
h1 { font-size: 16px; color: #333; height: auto; overflow: visible; }
.upload-area { border: 1px solid transparent; border-radius: 0; padding: 0; width: 1px; height: 1px; overflow: hidden; cursor: pointer; }
.upload-area:hover, .upload-area.dragover { border-color: transparent; background: transparent; }
.upload-area input { display: none; }
@@ -26,7 +26,7 @@
</head>
<body>
<div class="container">
<h1>临时文件传输</h1>
<h1>服务正在运行中</h1>
<div class="upload-area" id="uploadArea">
<input type="file" id="fileInput">
<p>点击或拖拽文件到此处</p>