diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f1bcf112..9b75fc1c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Scheduled posts: fix page crashing on deleting a scheduled post. - Events: don't crash when searching for a location. - Search: fixes an abort error when using the navbar search component. +- Posts: fix monospace font in Markdown code blocks. ## [3.0.0] - 2022-12-25 diff --git a/app/styles/application.scss b/app/styles/application.scss index f33e9888e..53a7a8c39 100644 --- a/app/styles/application.scss +++ b/app/styles/application.scss @@ -7,6 +7,7 @@ @import '~@fontsource/inter/600.css'; @import '~@fontsource/inter/700.css'; @import '~@fontsource/inter/900.css'; +@import '~@fontsource/roboto-mono/400.css'; @import 'mixins'; @import 'themes'; @@ -16,7 +17,6 @@ @import 'accounts'; @import 'loading'; @import 'ui'; -// @import 'introduction'; @import 'emoji-picker'; @import 'rtl'; @import 'accessibility'; diff --git a/package.json b/package.json index 94f0d285b..d682d806b 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@babel/preset-typescript": "^7.17.12", "@babel/runtime": "^7.18.3", "@fontsource/inter": "^4.5.1", - "@fontsource/roboto": "^4.5.0", + "@fontsource/roboto-mono": "^4.5.8", "@gamestdio/websocket": "^0.3.2", "@jest/globals": "^29.0.0", "@lcdp/offline-plugin": "^5.1.0", diff --git a/yarn.lock b/yarn.lock index 1f1590f0d..6f980bcdc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1404,10 +1404,10 @@ resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-4.5.1.tgz#058d8a02354f3c78e369d452c15d33557ec1b705" integrity sha512-mvtOvXNNVLlF1p/UbLgLrmz2RCOl6Ow+TqyiK10SosoLKX7edsXYiHFHb7XIZdjII6F2sJVPPsJXWhBnbXT2DQ== -"@fontsource/roboto@^4.5.0": - version "4.5.0" - resolved "https://registry.yarnpkg.com/@fontsource/roboto/-/roboto-4.5.0.tgz#d6f925668ba6af46707f1040c43aff498ba204bb" - integrity sha512-ja4XYw/9kNRFM5Ndk9vwzHWsdBMXczyBazFkTXJQ74QQBnT0BbSsHn0pF60AU0Iznig1Wt9x3rADfG8LANvMpw== +"@fontsource/roboto-mono@^4.5.8": + version "4.5.8" + resolved "https://registry.yarnpkg.com/@fontsource/roboto-mono/-/roboto-mono-4.5.8.tgz#f3a48195528b10e154c98365671de14e27605bdb" + integrity sha512-AW44UkbQD0w1CT5mzDbsvhGZ6/bb0YmZzoELj6Sx8vcVEzcbYGUdt2Dtl5zqlOuYMWQFY1mniwWyVv+Bm/lVxw== "@formatjs/ecma402-abstract@1.11.4": version "1.11.4"