diff --git a/packages/client/src/tiptap/core/wrappers/title/index.module.scss b/packages/client/src/tiptap/core/wrappers/title/index.module.scss index ff9dd1da..de366d57 100644 --- a/packages/client/src/tiptap/core/wrappers/title/index.module.scss +++ b/packages/client/src/tiptap/core/wrappers/title/index.module.scss @@ -6,6 +6,9 @@ overflow: hidden; img { + position: absolute; + top: 0; + left: 0; width: 100%; height: 100%; object-position: center 50%; diff --git a/packages/client/src/tiptap/core/wrappers/title/index.tsx b/packages/client/src/tiptap/core/wrappers/title/index.tsx index 108f66ab..b05fba2d 100644 --- a/packages/client/src/tiptap/core/wrappers/title/index.tsx +++ b/packages/client/src/tiptap/core/wrappers/title/index.tsx @@ -43,7 +43,7 @@ export const TitleWrapper = ({ editor, node }) => { {cover ? (
- + cover {isEditable ? (