From e0d2858c6dda75e1bf756c07b9fb46aaa4878a15 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Thu, 13 Jan 2022 15:41:07 +0800 Subject: [PATCH] :bug: Fix: pre element overflow error (#29) --- CHANGELOG.md | 3 ++- assets/css/_partial/_single/_code.scss | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 466e32e7..db25eeab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -## v0.2.12 [2022-1-11] +## v0.2.12 [2022-1-13] - :tada: Feat: add PWA support - :tada: Feat: add Watermark support ([#16](https://github.com/Lruihao/FixIt/issues/16)) @@ -11,6 +11,7 @@ - :art: Perf: optimize footer code - :recycle: Refactor: header title DOM and add subtitle option ([#26](https://github.com/Lruihao/FixIt/issues/26)) - :bug: Fix: add scroll-margin to headerlink +- :bug: Fix: pre element overflow error ([#29](https://github.com/Lruihao/FixIt/issues/29)) - :bug: Fix: toc-auto display error ([#21](https://github.com/Lruihao/FixIt/issues/21)) - :fire: Feat: remove lib smooth-scroll ([#1](https://github.com/Lruihao/FixIt/issues/1)) - :robot: Feat(SEO): optimize SEO meta ([#30](https://github.com/Lruihao/FixIt/issues/30)) diff --git a/assets/css/_partial/_single/_code.scss b/assets/css/_partial/_single/_code.scss index 5507a2db..94f733de 100644 --- a/assets/css/_partial/_single/_code.scss +++ b/assets/css/_partial/_single/_code.scss @@ -16,6 +16,7 @@ code { pre { margin: 0; padding: .25rem 0 .25rem .5rem; + overflow: auto; @include tab-size(4); code {