fix(ui): keep empty composer caret visible

This commit is contained in:
tttpob
2026-08-04 15:53:07 +08:00
parent f710b49854
commit 3685a14238
@@ -19,6 +19,8 @@ export const COMPOSER_EDITOR_THEME_SPEC = {
'&.cm-focused': { outline: 'none' },
'.cm-content': {
padding: '0',
// Keep the drawn empty-document cursor inside the scroller's horizontal clip.
paddingInlineStart: '1px',
fontFamily: 'inherit',
fontSize: 'inherit',
lineHeight: 'inherit',