File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
.@{editor-prefix} {
4
4
&-toolbar {
5
- border-bottom : 1px solid var (--color-border-muted );
5
+ &-warp {
6
+ display : flex ;
7
+ justify-content : space-between ;
8
+ align-items : center ;
9
+ user-select : none ;
10
+ flex-wrap : wrap ;
11
+ border-bottom : 1px solid var (--color-border-muted );
12
+ }
6
13
background-color : var (--color-canvas-subtle );
7
14
padding : 4px 2px 4px 5px ;
8
15
border-radius : 3px 3px 0 0 ;
9
16
display : flex ;
17
+ flex-wrap : wrap ;
10
18
gap : 2px ;
11
19
align-items : center ;
12
20
button {
38
46
}
39
47
}
40
48
&-mode {
41
- float : right ;
49
+ // float: right;
42
50
padding-right : 5px ;
43
51
}
44
52
}
Original file line number Diff line number Diff line change @@ -120,9 +120,9 @@ function MarkdownEditorInternal(
120
120
return (
121
121
< div className = { cls } ref = { container } >
122
122
{ hideToolbar && (
123
- < div >
124
- < ToolBar { ...toolBarProps } toolbars = { toolbarsMode } mode />
123
+ < div className = { `${ prefixCls } -toolbar-warp` } >
125
124
< ToolBar { ...toolBarProps } toolbars = { toolbars } />
125
+ < ToolBar { ...toolBarProps } toolbars = { toolbarsMode } mode />
126
126
</ div >
127
127
) }
128
128
< div className = { `${ prefixCls } -content` } style = { { height : codemirrorProps . height } } >
You can’t perform that action at this time.
0 commit comments