fix(ui): stabilize Markdown code block line layout (#2444)
* fix(ui): stabilize markdown code block layout * fix(ui): respect text range boundary affinity * test(ui): cover trailing text range boundaries
This commit is contained in:
@@ -1541,6 +1541,7 @@ const AssistantMessageBody = React.memo(({
|
||||
const paddingSize = 24;
|
||||
|
||||
wrapper = document.createElement('div');
|
||||
wrapper.setAttribute('data-message-image-export', 'true');
|
||||
wrapper.style.cssText = `
|
||||
padding: ${paddingSize}px;
|
||||
background-color: ${resolvedBackgroundColor};
|
||||
|
||||
Reference in New Issue
Block a user