From 68cc1837820b4ef5fa2aefa0e2c630332ace3d94 Mon Sep 17 00:00:00 2001 From: Caner Akdas Date: Fri, 27 Oct 2023 14:09:44 +0300 Subject: [PATCH 1/2] fix: Syntax highlighter empty line --- styles/old/index.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/styles/old/index.css b/styles/old/index.css index faf7f69433af1..dad04ebbefbc8 100644 --- a/styles/old/index.css +++ b/styles/old/index.css @@ -127,6 +127,10 @@ a:hover .color-lightgray { } } +.shiki .line { + min-height: 1rem; +} + html[dir='rtl'] { .has-side-nav { nav { From 1dc5aa545a87dc4e0c75316dfb3486cd31b6df24 Mon Sep 17 00:00:00 2001 From: Caner Akdas Date: Fri, 27 Oct 2023 14:16:33 +0300 Subject: [PATCH 2/2] fix: Last empty line shouldnt shown --- styles/old/index.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/styles/old/index.css b/styles/old/index.css index dad04ebbefbc8..033c3766c6953 100644 --- a/styles/old/index.css +++ b/styles/old/index.css @@ -129,6 +129,10 @@ a:hover .color-lightgray { .shiki .line { min-height: 1rem; + + &:last-child { + min-height: initial; + } } html[dir='rtl'] {