mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	fix(zen): buttons on darwin
This commit is contained in:
		
							parent
							
								
									753da46935
								
							
						
					
					
						commit
						dc0ac4daa2
					
				| @ -25,7 +25,7 @@ const TPL = `\ | |||||||
|         -webkit-app-region: no-drag; |         -webkit-app-region: no-drag; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     body.zen.electron:not(.native-titlebar) .close-zen-container { |     body.zen.electron:not(.platform-darwin):not(.native-titlebar) .close-zen-container { | ||||||
|         left: calc(env(titlebar-area-width) - var(--zen-button-size) - 2px); |         left: calc(env(titlebar-area-width) - var(--zen-button-size) - 2px); | ||||||
|         right: unset; |         right: unset; | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -1677,6 +1677,7 @@ body.zen .title-row { | |||||||
|     display: block !important; |     display: block !important; | ||||||
|     height: unset !important; |     height: unset !important; | ||||||
|     -webkit-app-region: drag; |     -webkit-app-region: drag; | ||||||
|  |     padding-left: env(titlebar-area-x); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| body.zen .note-title-widget, | body.zen .note-title-widget, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran