mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-20 05:38:12 +02:00
fix: SearXNG startup + always visible edit buttons
SearXNG: - Use command override to rm -rf limiter.toml before recreating it - This ensures any directory is removed before creating the file - Mount only settings.yml, create limiter.toml dynamically UI: - Remove opacity-0 from site edit/delete buttons - Buttons are now always visible (not just on hover) - Added title attributes for accessibility
This commit is contained in:
2 files changed
+14
-4
No files matched your search
@@ -681,11 +681,11 @@ export default function Settings() {
|
||||
</h3>
|
||||
<p className="text-sm text-muted-foreground mt-1">{site.domain}</p>
|
||||
</div>
|
||||
<div className="flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity">
|
||||
<Button variant="ghost" size="icon" className="h-8 w-8" onClick={() => editSite(site)}>
|
||||
<div className="flex items-center gap-1">
|
||||
<Button variant="ghost" size="icon" className="h-8 w-8" onClick={() => editSite(site)} title="Modifier">
|
||||
<Edit2 className="h-4 w-4" />
|
||||
</Button>
|
||||
<Button variant="ghost" size="icon" className="h-8 w-8 text-destructive hover:text-destructive" onClick={() => deleteSite(site.id)}>
|
||||
<Button variant="ghost" size="icon" className="h-8 w-8 text-destructive hover:text-destructive" onClick={() => deleteSite(site.id)} title="Supprimer">
|
||||
<Trash2 className="h-4 w-4" />
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user