From 8f213e46c8071578a3b9f975293eb805832c1bf4 Mon Sep 17 00:00:00 2001 From: "tom.davies" Date: Thu, 17 Oct 2024 11:29:01 +0100 Subject: [PATCH] fix(note): remove 100% height from the draft editor to avoid visual regression --- src/components/note/note.style.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/note/note.style.ts b/src/components/note/note.style.ts index a969fd5cf9..52c1d99aac 100644 --- a/src/components/note/note.style.ts +++ b/src/components/note/note.style.ts @@ -13,13 +13,11 @@ const StyledNoteContent = styled.div<{ ${({ hasPreview }) => css` div.DraftEditor-root { min-height: inherit; - height: 100%; } div.DraftEditor-editorContainer, div.public-DraftEditor-content { min-height: inherit; - height: 100%; background-color: var(--colorsUtilityYang100); line-height: 21px; }