Skip to content

Commit

Permalink
fixed small code quotes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CorwinDev committed Oct 25, 2023
1 parent 599ed95 commit 7589c49
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 0 additions & 4 deletions assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,3 @@ html {
padding-top: 0.5rem;
}


.prose {
@apply prose-code:before:hidden prose-code:after:hidden prose-code:bg-secondary-100 prose-code:p-0.5 prose-code:rounded-lg;
}
9 changes: 9 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ module.exports = {
400: 'var(--success-400)',
},
},
typography: {
DEFAULT: {
css: {
"code::before": { content: '""' },
"code::after": { content: '""' },
"code": { backgroundColor: 'var(--secondary-100)', color: 'var(--gray-800)', padding: '0.25rem 0.5rem', borderRadius: '0.25rem' },
},
},
},
},
},
plugins: [require('@tailwindcss/typography'), require('flowbite/plugin'), require('autoprefixer')],
Expand Down

0 comments on commit 7589c49

Please sign in to comment.