web: fix active tab background

This commit is contained in:
Abdullah Atta
2025-03-26 15:29:43 +05:00
parent f8b73bace6
commit 7555df5b50

View File

@@ -534,7 +534,7 @@ function Tab(props: TabProps) {
transition,
visibility: active?.id === id ? "hidden" : "visible",
bg: isActive ? "background-selected" : "transparent",
bg: isActive ? "background" : "transparent",
justifyContent: "space-between",
alignItems: "center",
flexShrink: 0,
@@ -542,7 +542,7 @@ function Tab(props: TabProps) {
"& .closeTabButton": {
opacity: 1
},
bg: isActive ? "background-selected" : "hover"
bg: isActive ? "background" : "hover"
}
}}
onContextMenu={(e) => {