v1.8.24: fix homepage — remove orphaned upload HTML+braces, query card full-width

This commit is contained in:
2026-05-28 22:09:39 +00:00
parent 9e1883037d
commit a508239cba
11 changed files with 3 additions and 19 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -19
View File
@@ -33,14 +33,8 @@ body{background:radial-gradient(circle at 50% -20%,#151b2d 0%,#0c1324 100%);font
.msym{font-family:'Material Symbols Outlined';font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;vertical-align:middle;line-height:1}
/* Upload zone — specific props, no transform on touch */
.upload-zone{
border:2px dashed rgba(78,222,163,0.2);
transition:border-color 200ms ease, background 200ms ease;
}
.upload-zone.dragover{border-color:rgba(78,222,163,0.6);background:rgba(78,222,163,0.05)}
@media (hover: hover) and (pointer: fine) {
.upload-zone:hover{border-color:rgba(78,222,163,0.4);background:rgba(78,222,163,0.03)}
}
}
.scrollbar::-webkit-scrollbar{width:4px}
.scrollbar::-webkit-scrollbar-thumb{background:rgba(78,222,163,0.2);border-radius:4px}
@@ -273,10 +267,8 @@ header { animation:slideDown 350ms var(--ease-out) both; }
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
<!-- Query -->
<div class="glass rounded-3xl p-6 query-card">
<!-- Query -->
<div class="glass rounded-3xl p-6 query-card mb-6">
<h2 class="text-primary text-xs font-bold uppercase tracking-widest mb-4 flex items-center gap-2">
<span class="msym text-base">search</span> اسأل الكتب
</h2>
@@ -291,11 +283,6 @@ header { animation:slideDown 350ms var(--ease-out) both; }
<div id="answer-box" class="bg-surface-high rounded-2xl p-4 text-sm leading-7 text-on-surface whitespace-pre-wrap max-h-64 overflow-y-auto scrollbar"></div>
<div id="answer-meta" class="flex flex-wrap gap-2 mt-3"></div>
</div>
</div>
<p id="progress-text" class="text-xs text-on-surface-variant mt-2"></p>
</div>
<pre id="log-box" class="hidden mt-2 text-xs text-on-surface-variant bg-surface-high rounded-xl p-3 max-h-24 overflow-y-auto scrollbar font-mono"></pre>
</div>
</div>
</div>
@@ -459,9 +446,6 @@ async function doQuery() {
}
}
}
// ── Keyboard shortcut ────────────────────────────────────────────────────────