Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update styling of nav buttons (width, corner_radius)

Piotr Osiewicz4658bc610c1b
diff --git a/styles/src/style_tree/tab_bar.ts b/styles/src/style_tree/tab_bar.ts
index 73b9e82d0c2..81e1f7adf3b 100644
--- a/styles/src/style_tree/tab_bar.ts
+++ b/styles/src/style_tree/tab_bar.ts
@@ -88,8 +88,8 @@ export default function tab_bar(): any {
base: {
color: foreground(theme.highest, "on"),
icon_width: 12,
- button_width: 24,
- corner_radius: 6,
+
+ button_width: active_pane_active_tab.height,
},
state: {
hovered: {