Skip to content

Commit 5c1891d

Browse files
committed
Fix resource references end block when serialised #951
1 parent 920799c commit 5c1891d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

browser/data-browser/src/chunks/MarkdownEditor/AIChatInput/AsyncAIChatInput.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const SerializableMention = Mention.extend({
2323
state.write('@' + (node.attrs.label || ''));
2424
state.renderContent(node);
2525
state.flushClose(1);
26-
state.closeBlock(node);
2726
},
2827
},
2928
};

browser/data-browser/src/components/AI/SimpleAIChat.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ const AttachmentPreview = styled.div`
789789
`;
790790

791791
const ChatWindow = styled.div<{ fullView?: boolean }>`
792+
padding: ${p => (p.fullView ? p.theme.size() : 0)};
792793
padding-top: ${p => (p.fullView ? p.theme.size(2) : 0)};
793794
position: relative;
794795
display: grid;

0 commit comments

Comments
 (0)