fix: update button background color to use series color for better visual alignment

This commit is contained in:
Lucas Rayan committed 2026-01-23 09:17:24 -03:00
1 parent 2ba7f84590
commit e3b4600300
1 file changed
+1 -1
+1 -1
View File
@@ -710,7 +710,7 @@ export default function ConnectionsDiagram({ connections, serie }) {
<button <button
onClick={() => setSelectedConnection(null)} onClick={() => setSelectedConnection(null)}
className="w-full py-4 rounded-2xl font-bold text-white shadow-lg hover:shadow-xl transform hover:-translate-y-0.5 active:translate-y-0 transition-all duration-200 focus:outline-none focus:ring-4 focus:ring-offset-2" className="w-full py-4 rounded-2xl font-bold text-white shadow-lg hover:shadow-xl transform hover:-translate-y-0.5 active:translate-y-0 transition-all duration-200 focus:outline-none focus:ring-4 focus:ring-offset-2"
style={{ backgroundColor: color }} style={{ backgroundColor: serie.color }}
aria-label="Close modal" aria-label="Close modal"
> >
Fechar Fechar