mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
web: fix active tab background
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user