mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	style(next): improve code block style
This commit is contained in:
		
							parent
							
								
									b81c15c84c
								
							
						
					
					
						commit
						2e1b472500
					
				| @ -7,7 +7,8 @@ | |||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
|  .attachment-content-wrapper pre, |  .attachment-content-wrapper pre, | ||||||
|  .ck-content pre { |  .ck-content pre, | ||||||
|  |  .ck-mermaid__editing-view { | ||||||
|     border: 0; |     border: 0; | ||||||
|     border-radius: 6px; |     border-radius: 6px; | ||||||
|     box-shadow: var(--code-block-box-shadow); |     box-shadow: var(--code-block-box-shadow); | ||||||
| @ -33,9 +34,10 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .attachment-content-wrapper pre code, | .attachment-content-wrapper pre code, | ||||||
| .ck-content pre code { | .ck-content pre code, | ||||||
|  | .ck-mermaid__editing-view { | ||||||
|     display: block; |     display: block; | ||||||
|     padding: 1em; |     padding: 1em !important; | ||||||
|     overflow: auto; |     overflow: auto; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran