From 8e94f1b07b49c8cacedbd5b774f1fd272258cc1d Mon Sep 17 00:00:00 2001 From: "a.shabaan" Date: Tue, 21 Nov 2023 14:34:03 +0200 Subject: [PATCH] UI | fix markdown editor overflow style (#4141) --- ui/components/Policies/Utils/MarkdownEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/components/Policies/Utils/MarkdownEditor.tsx b/ui/components/Policies/Utils/MarkdownEditor.tsx index 397e6b89e3..ae1f462de7 100644 --- a/ui/components/Policies/Utils/MarkdownEditor.tsx +++ b/ui/components/Policies/Utils/MarkdownEditor.tsx @@ -4,7 +4,7 @@ import styled from "styled-components"; export const MarkdownEditor = styled(ReactMarkdown)` width: calc(100% - 24px); padding: ${(props) => props.theme.spacing.small}; - overflow: scroll; + overflow: auto; background: ${(props) => props.theme.colors.neutralGray}; max-height: 300px; & a {