fixed generate button size

This commit is contained in:
2026-01-04 00:48:18 -07:00
parent 4979cce6c9
commit 8dad47a2ac
8 changed files with 225 additions and 228 deletions

View File

@@ -288,9 +288,6 @@ const PromptDisplay = () => {
<div className="">
<button className="btn btn-secondary w-full relative overflow-hidden" onClick={handleFillPool}>
<div className="absolute top-0 left-0 h-full bg-green-500 opacity-20 transition-all duration-300"
style={{ width: `${Math.min((poolStats.total / poolStats.target) * 100, 100)}%` }}>
</div>
<div className="relative z-10 flex items-center justify-center gap-2">
<i className="fas fa-sync"></i>
<span>Fill Prompt Pool ({poolStats.total}/{poolStats.target})</span>