mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	fix(mobile): bottom margin on iOS
This commit is contained in:
		
							parent
							
								
									ba84cd0390
								
							
						
					
					
						commit
						3ea26a46c5
					
				| @ -26,7 +26,7 @@ | |||||||
| 
 | 
 | ||||||
| html { | html { | ||||||
|     /* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */ |     /* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */ | ||||||
|     height: 100%; |     height: 100vh; | ||||||
|     overscroll-behavior: none; |     overscroll-behavior: none; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -34,8 +34,8 @@ body { | |||||||
|     /* Fix for CKEditor block gutter icon "stretching" body and causing scrollbar to appear after pressing enter |     /* Fix for CKEditor block gutter icon "stretching" body and causing scrollbar to appear after pressing enter | ||||||
|         on the last line of the editor. */ |         on the last line of the editor. */ | ||||||
|     position: fixed; |     position: fixed; | ||||||
|     width: 100%; |     width: 100vw; | ||||||
|     height: 100%; |     height: 100vh; | ||||||
|     background-color: var(--main-background-color); |     background-color: var(--main-background-color); | ||||||
|     color: var(--main-text-color); |     color: var(--main-text-color); | ||||||
|     font-family: var(--main-font-family); |     font-family: var(--main-font-family); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran