From 25b8d2aae43e5f606945d32be3a99875e842fb95 Mon Sep 17 00:00:00 2001 From: Akash Kava <39438041+ackava@users.noreply.github.com> Date: Thu, 7 Mar 2024 19:13:49 +0530 Subject: [PATCH] Style updated --- src/html-editor/InlineHtmlEditor.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/html-editor/InlineHtmlEditor.tsx b/src/html-editor/InlineHtmlEditor.tsx index 629714ae..3ec2615f 100644 --- a/src/html-editor/InlineHtmlEditor.tsx +++ b/src/html-editor/InlineHtmlEditor.tsx @@ -11,6 +11,9 @@ import styled from "@web-atoms/core/dist/style/styled"; styled.css ` + display: grid; + grid-template-rows: auto 1fr; + & > [data-element=editor] { padding: var(--spacing, 5px); @@ -18,6 +21,8 @@ import styled from "@web-atoms/core/dist/style/styled"; border-radius: var(--spacing, 5px); margin: var(--spacing, 5px); + overflow: auto; + & > * { outline: none; }