From 7efcd6060864d63cbebbb603053052818cfb43e1 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 28 Jun 2023 10:54:44 +0200 Subject: [PATCH] Remove border from assistant message header Also: Increase right margin on token count to space it from the scrollbar. Co-Authored-By: Antonio Scandurra --- styles/src/styleTree/assistant.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/styles/src/styleTree/assistant.ts b/styles/src/styleTree/assistant.ts index e3c8e455ea..b6e97303f2 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" }),