From 49bb34ec73c1b510749c8ae1fc45260f552a2c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aneta=20Jastrz=C4=99bska?= <1544710+anetaj@users.noreply.github.com> Date: Sat, 21 Sep 2024 11:49:42 +0200 Subject: [PATCH] always show msg input; misc css improvements --- .../void/src/sidebar/MarkdownRender.tsx | 6 ++--- extensions/void/src/sidebar/Sidebar.tsx | 23 +++++++++---------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/extensions/void/src/sidebar/MarkdownRender.tsx b/extensions/void/src/sidebar/MarkdownRender.tsx index fa59ca9a..e9cc2b96 100644 --- a/extensions/void/src/sidebar/MarkdownRender.tsx +++ b/extensions/void/src/sidebar/MarkdownRender.tsx @@ -7,10 +7,10 @@ import { awaitVSCodeResponse, getVSCodeAPI } from './getVscodeApi'; export const BlockCode = ({ text, disableApplyButton = false }: { text: string, disableApplyButton?: boolean }) => { return
{disableApplyButton ? null :
-
} -
+
 				{text}
 			
@@ -128,7 +128,7 @@ const Render = ({ token }: { token: Token }) => { // inline code if (t.type === "codespan") { - return {t.text}; + return {t.text}; } if (t.type === "br") { diff --git a/extensions/void/src/sidebar/Sidebar.tsx b/extensions/void/src/sidebar/Sidebar.tsx index 0107e228..4cba1ccb 100644 --- a/extensions/void/src/sidebar/Sidebar.tsx +++ b/extensions/void/src/sidebar/Sidebar.tsx @@ -36,7 +36,7 @@ If you make a change, rewrite the entire file. const FilesSelector = ({ files, setFiles }: { files: vscode.Uri[], setFiles: (files: vscode.Uri[]) => void }) => { - return files.length !== 0 &&
+ return files.length !== 0 &&
Include files: {files.map((filename, i) =>
@@ -57,7 +57,7 @@ const IncludedFiles = ({ files }: { files: vscode.Uri[] }) => { {files.map((filename, i) =>