+
+
{{ toast.platform?.toUpperCase() }}
-
+
{{ toast.title || 'Nuevo artĂculo' }}
-
+
{{ toast.price }} {{ toast.currency || '€' }}
- Ver artĂculo →
+ Ver →
@@ -183,10 +184,10 @@ function addToast(article) {
...article,
});
- // Auto-remover después de 8 segundos
+ // Auto-remover después de 5 segundos (más corto para toasts discretos)
setTimeout(() => {
removeToast(id);
- }, 8000);
+ }, 5000);
}
function removeToast(id) {
diff --git a/web/frontend/src/style.css b/web/frontend/src/style.css
index 465c802..8534f92 100644
--- a/web/frontend/src/style.css
+++ b/web/frontend/src/style.css
@@ -54,6 +54,6 @@
}
.animate-slide-in {
- animation: slide-in 0.3s ease-out;
+ animation: slide-in 0.25s ease-out;
}