优化 代码块主题
This commit is contained in:
		
							parent
							
								
									43078ae95b
								
							
						
					
					
						commit
						e1361f9219
					
				| @ -141,7 +141,7 @@ export function MarkdownToolbar({ onInsert }: MarkdownToolbarProps) { | |||||||
|       <div className="flex items-center gap-0.5 px-2 py-1 border-b"> |       <div className="flex items-center gap-0.5 px-2 py-1 border-b"> | ||||||
|         {tools.map((tool, index) => { |         {tools.map((tool, index) => { | ||||||
|           if ('type' in tool && tool.type === 'separator') { |           if ('type' in tool && tool.type === 'separator') { | ||||||
|             return <Separator key={index} orientation="vertical" className="mx-1 h-6" /> |             return <Separator key={index} orientation="vertical" className="mx-0.5 h-4" /> | ||||||
|           } |           } | ||||||
| 
 | 
 | ||||||
|           const buttonTool = tool as ToolButton |           const buttonTool = tool as ToolButton | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 tianyaxiang
						tianyaxiang