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;
}