Skip to content

Commit

Permalink
fix: 🐛 broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpetrov committed Apr 10, 2024
1 parent 28e7241 commit 4edabf4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 32 deletions.
29 changes: 0 additions & 29 deletions packages/config-tailwind/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion packages/embeds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chaindesk/embeds",
"version": "1.0.202",
"version": "1.0.203",
"description": "Chaindesk Embeds",
"main": "dist/chatbox/index.js",
"scripts": {
Expand Down
7 changes: 5 additions & 2 deletions packages/ui/src/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
)}
Expand Down Expand Up @@ -94,7 +94,10 @@ function Markdown({
</Stack>
) : (
<code
className={clsx(className)}
className={clsx(
className,
'bg-purple-200 dark:bg-purple-900 py-0.5 px-1 rounded-md font-thin'
)}
{...props}
style={{ width: '100%' }}
/>
Expand Down

0 comments on commit 4edabf4

Please sign in to comment.