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.

Remove border from assistant message header

Nathan Sobo7efcd6060864
diff --git a/styles/src/styleTree/assistant.ts b/styles/src/styleTree/assistant.ts
index e3c8e455ead..b6e97303f24 100644
--- a/styles/src/styleTree/assistant.ts
+++ b/styles/src/styleTree/assistant.ts
@@ -11,7 +11,6 @@ export default function assistant(colorScheme: ColorScheme) {
padding: { left: 12 },
},
messageHeader: {
- border: border(layer, "default", { bottom: true, top: true }),
margin: { bottom: 6, top: 6 },
background: editor(colorScheme).background,
},
@@ -238,14 +237,14 @@ export default function assistant(colorScheme: ColorScheme) {
}),
remainingTokens: {
background: background(layer, "on"),
- margin: { top: 12, right: 12 },
+ margin: { top: 12, right: 24 },
padding: 4,
cornerRadius: 4,
...text(layer, "sans", "positive", { size: "xs" }),
},
noRemainingTokens: {
background: background(layer, "on"),
- margin: { top: 12, right: 12 },
+ margin: { top: 12, right: 24 },
padding: 4,
cornerRadius: 4,
...text(layer, "sans", "negative", { size: "xs" }),