diff --git a/.changes/v2.2.2.md b/.changes/v2.2.2.md new file mode 100644 index 00000000..e3fd222d --- /dev/null +++ b/.changes/v2.2.2.md @@ -0,0 +1,9 @@ +## [v2.2.2](https://github.com/ansidev/leetcode-blog/compare/v2.2.1...v2.2.2) (2023-03-08) + +### Bug Fixes + +- **markdown:** update markdown config to nowrap text + +- **ui:** update CSS styles for code blocks + +Full Changelog: [v2.2.1...v2.2.2](https://github.com/ansidev/leetcode-blog/compare/v2.2.1...v2.2.2) diff --git a/CHANGELOG.md b/CHANGELOG.md index f12eaf3f..bc7edb1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org). +## [v2.2.2](https://github.com/ansidev/leetcode-blog/compare/v2.2.1...v2.2.2) (2023-03-08) + +### Bug Fixes + +- **markdown:** update markdown config to nowrap text + +- **ui:** update CSS styles for code blocks + +Full Changelog: [v2.2.1...v2.2.2](https://github.com/ansidev/leetcode-blog/compare/v2.2.1...v2.2.2) + ## [v2.2.1](https://github.com/ansidev/leetcode-blog/compare/v2.2.0...v2.2.1) (2023-03-05) ### Bug Fixes diff --git a/astro.config.mjs b/astro.config.mjs index a18ba679..fc958c29 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -39,7 +39,7 @@ export default defineConfig({ '@resvg/resvg-js', ], }, - } + }, }) // vite plugin to import fonts diff --git a/package.json b/package.json index 8531657c..526e0cdc 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "leetcode-blog", "description": "Solutions for LeetCode problems - Written by ansidev", "type": "module", - "version": "2.2.1", + "version": "2.2.2", "license": "MIT", "scripts": { "lc:new": "tsx ./src/cmd/leetcode.ts", diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 80f84018..b913429d 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -21,14 +21,10 @@ module.exports = { '--tw-prose-headings': theme('textColor.style.primary'), '--tw-prose-bold': theme('textColor.style.primary'), '--tw-prose-quotes': theme('textColor.style.primary'), - '--tw-prose-code': theme('textColor.style.primary-inverted'), - '--tw-prose-pre-bg': theme('textColor.style.primary'), + '--tw-prose-pre-bg': '#0d1117', code: { backgroundColor: theme('backgroundColor.style.primary'), - paddingTop: '2px', - paddingBottom: '5px', - paddingLeft: '5px', - paddingRight: '5px', + padding: '5px', borderRadius: '3px', }, 'code::before': {