From 14ee5daa009c1dee016b704b68a5ec1f45021865 Mon Sep 17 00:00:00 2001 From: Konstantin Schaper Date: Tue, 7 Nov 2023 08:59:39 +0100 Subject: [PATCH] fix unnecessary scrollbar showing up in markdown views with code tags Co-authored-by: Eduard Heimbuch Pushed-by: Konstantin Schaper Pushed-by: Eduard Heimbuch Co-authored-by: Konstantin Schaper --- gradle/changelog/fix_markdown_scrolling.yaml | 2 ++ .../src/__snapshots__/storyshots.test.ts.snap | 24 +++++++++---------- .../src/markdown/LazyMarkdownView.tsx | 1 + 3 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 gradle/changelog/fix_markdown_scrolling.yaml diff --git a/gradle/changelog/fix_markdown_scrolling.yaml b/gradle/changelog/fix_markdown_scrolling.yaml new file mode 100644 index 0000000000..ffae8221f5 --- /dev/null +++ b/gradle/changelog/fix_markdown_scrolling.yaml @@ -0,0 +1,2 @@ +- type: fixed + description: Unnecessary scrollbar showing up in markdown views with code tags for certain resolutions diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index c4f77ee208..c73715e8ee 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -4783,7 +4783,7 @@ exports[`Storyshots MarkdownView Code without Lang 1`] = ` className="MarkdownViewstories__Spacing-sc-1lofakk-0 isVeYs" >

@@ -4851,7 +4851,7 @@ exports[`Storyshots MarkdownView Commit Links 1`] = ` className="MarkdownViewstories__Spacing-sc-1lofakk-0 isVeYs" >