From c9f84fe69cdf2efb33503e5d1f2f96898ec2f773 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Sun, 20 Mar 2022 14:23:35 -0700 Subject: [PATCH] client: remove backticks around inline code markdown blocks --- client/components/preview/preview.module.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/client/components/preview/preview.module.css b/client/components/preview/preview.module.css index 96276d1..6250035 100644 --- a/client/components/preview/preview.module.css +++ b/client/components/preview/preview.module.css @@ -82,3 +82,17 @@ .markdownPreview ul ul li { margin-left: var(--gap); } + +.markdownPreview code { + border-radius: 3px; + white-space: pre-wrap; + word-wrap: break-word; + color: initial; + background-color: #f5f5f5; + padding: 2px 4px; +} + +.markdownPreview code::before, +.markdownPreview code::after { + content: ""; +}