fixed generate button size
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user