mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-04 12:40:10 +00:00
fix: update button background color for better visibility in dark mode
This commit is contained in:
@@ -274,7 +274,7 @@ export const NetworkChartClient = React.memo(function NetworkChart({
|
|||||||
<div className="relative">
|
<div className="relative">
|
||||||
{activeCharts.length > 0 && (
|
{activeCharts.length > 0 && (
|
||||||
<button
|
<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}
|
onClick={clearAllSelections}
|
||||||
>
|
>
|
||||||
{t("monitor.clearSelections", "Clear")} ({activeCharts.length})
|
{t("monitor.clearSelections", "Clear")} ({activeCharts.length})
|
||||||
|
|||||||
Reference in New Issue
Block a user