Skip to content

Commit b13293c

Browse files
committed
调整Markdown编辑器样式,设置元素位置为相对,以改善布局
1 parent 4dfdaf5 commit b13293c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MarkdownEditor/editor/style.ts

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const genStyle: GenerateStyle<ChatTokenType> = (token) => {
6767
margin: '0 2px',
6868
lineHeight: '14px',
6969
top: '-0.5em',
70+
position: 'relative',
7071
textAlign: 'center',
7172
justifyContent: 'center',
7273
transition: 'all 0.3s',

0 commit comments

Comments
 (0)