fix: update button background color for better visibility in dark mode

This commit is contained in:
hamster1963 2025-04-25 10:55:02 +08:00
parent ed35e8c122
commit 20bba90a49

View File

@ -274,7 +274,7 @@ export const NetworkChartClient = React.memo(function NetworkChart({
<div className="relative">
{activeCharts.length > 0 && (
<button
className="absolute -top-2 right-1 z-10 text-xs px-2 py-1 bg-stone-100/80 backdrop-blur-sm rounded-[5px] text-muted-foreground hover:text-foreground transition-colors"
className="absolute -top-2 right-1 z-10 text-xs px-2 py-1 bg-stone-100/80 dark:bg-stone-800/80 backdrop-blur-sm rounded-[5px] text-muted-foreground hover:text-foreground transition-colors"
onClick={clearAllSelections}
>
{t("monitor.clearSelections", "Clear")} ({activeCharts.length})