From 83b058517056ebc657af232fef2ee2ebd5714c44 Mon Sep 17 00:00:00 2001 From: Dubzer Date: Wed, 24 Apr 2024 03:20:03 +0300 Subject: [PATCH] feat: make the CodeBlock take all the space on small screens --- web/src/components/MemoContent/CodeBlock.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/src/components/MemoContent/CodeBlock.tsx b/web/src/components/MemoContent/CodeBlock.tsx index 4c550019c9026..bb3201f6d4096 100644 --- a/web/src/components/MemoContent/CodeBlock.tsx +++ b/web/src/components/MemoContent/CodeBlock.tsx @@ -58,7 +58,12 @@ const CodeBlock: React.FC = ({ language, content }: Props) => { }, [content]); return ( -
+
{formatedLanguage} {md && }