Merge pull request #2610 from TTTPOB/fix/composer-empty-caret
fix(ui): keep empty composer caret visible
This commit is contained in:
@@ -20,6 +20,8 @@ export const COMPOSER_EDITOR_THEME_SPEC = {
|
|||||||
'&.cm-focused': { outline: 'none' },
|
'&.cm-focused': { outline: 'none' },
|
||||||
'.cm-content': {
|
'.cm-content': {
|
||||||
padding: '0',
|
padding: '0',
|
||||||
|
// Keep the drawn empty-document cursor inside the scroller's horizontal clip.
|
||||||
|
paddingInlineStart: '1px',
|
||||||
fontFamily: 'inherit',
|
fontFamily: 'inherit',
|
||||||
fontSize: 'inherit',
|
fontSize: 'inherit',
|
||||||
lineHeight: 'inherit',
|
lineHeight: 'inherit',
|
||||||
|
|||||||
Reference in New Issue
Block a user