Restore lack of bottom border on active tab

Co-authored-by: Keith Simmons <keith@zed.dev>
This commit is contained in:
Max Brunsfeld 2022-07-26 14:20:29 -07:00
parent f20fc152f5
commit 20b8e03ff0

View file

@ -35,6 +35,7 @@ export default function tabBar(theme: Theme) {
text: text(theme, "sans", "active", { size: "sm" }), text: text(theme, "sans", "active", { size: "sm" }),
border: { border: {
...tab.border, ...tab.border,
bottom: false
}, },
}; };
@ -50,6 +51,7 @@ export default function tabBar(theme: Theme) {
text: text(theme, "sans", "secondary", { size: "sm" }), text: text(theme, "sans", "secondary", { size: "sm" }),
border: { border: {
...tab.border, ...tab.border,
bottom: false
}, },
} }
@ -72,7 +74,7 @@ export default function tabBar(theme: Theme) {
paneButton: { paneButton: {
color: iconColor(theme, "secondary"), color: iconColor(theme, "secondary"),
border: { border: {
...activePaneActiveTab.border, ...tab.border,
}, },
iconWidth: 12, iconWidth: 12,
buttonWidth: activePaneActiveTab.height, buttonWidth: activePaneActiveTab.height,