diff --git a/packages/config-tailwind/tailwind.config.js b/packages/config-tailwind/tailwind.config.js index fbc12ddcd..c654c07a7 100644 --- a/packages/config-tailwind/tailwind.config.js +++ b/packages/config-tailwind/tailwind.config.js @@ -9,35 +9,6 @@ module.exports = { darkMode: 'class', theme: { extend: { - typography: (theme) => ({ - invert: { - css: { - code: { - background: theme('colors.zinc.700'), - }, - }, - }, - DEFAULT: { - css: { - 'code::before': { - content: '  ', - }, - 'code::after': { - content: '  ', - }, - 'pre code': { - background: 'transparent !important', - }, - code: { - background: theme('colors.pink.100'), - wordWrap: 'break-word', - boxDecorationBreak: 'clone', - padding: '.1rem .3rem .2rem', - borderRadius: '.2rem', - }, - }, - }, - }), fontFamily: { sans: ['"Inter"', ...defaultTheme.fontFamily.sans], inter: ['var(--font-inter)', 'sans-serif'], diff --git a/packages/embeds/package.json b/packages/embeds/package.json index 2b1d32c12..a8f0bcf30 100644 --- a/packages/embeds/package.json +++ b/packages/embeds/package.json @@ -1,6 +1,6 @@ { "name": "@chaindesk/embeds", - "version": "1.0.202", + "version": "1.0.203", "description": "Chaindesk Embeds", "main": "dist/chatbox/index.js", "scripts": { diff --git a/packages/ui/src/Markdown.tsx b/packages/ui/src/Markdown.tsx index 6d801ecde..8f6583278 100644 --- a/packages/ui/src/Markdown.tsx +++ b/packages/ui/src/Markdown.tsx @@ -33,7 +33,7 @@ function Markdown({ {...otherProps} className={clsx( 'prose-sm prose dark:prose-invert', - 'text-sm break-words prose-p:leading-relaxed prose-pre:p-0', + 'text-sm break-words prose-p:leading-relaxed prose-pre:p-0 prose-code:before:hidden prose-code:after:hidden', 'max-w-full', className )} @@ -94,7 +94,10 @@ function Markdown({ ) : (