Skip to content

Commit d7c8fb7

Browse files
devvaannshabose
authored andcommitted
fix: active tab styling for placeholder tabs in split pane
1 parent ae69e60 commit d7c8fb7

File tree

1 file changed

+7
-0
lines changed
  • src/extensionsIntegrated/TabBar

1 file changed

+7
-0
lines changed

src/extensionsIntegrated/TabBar/main.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,13 @@ define(function (require, exports, module) {
177177
$tab.addClass('active-in-inactive-pane');
178178
}
179179

180+
// if this is a placeholder tab in inactive pane, we need to use the brown styling
181+
// instead of the blue one for active tabs
182+
if (isPlaceholder && isActive && !isPaneActive) {
183+
$tab.removeClass('active');
184+
$tab.addClass('active-in-inactive-pane');
185+
}
186+
180187
return $tab;
181188
}
182189

0 commit comments

Comments
 (0)