mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	fix total height / scrolling on mobile chrome/safari, closes #2367
This commit is contained in:
		
							parent
							
								
									08e9b59696
								
							
						
					
					
						commit
						67542f448d
					
				| @ -88,7 +88,7 @@ export default class MobileLayout { | ||||
|         return new FlexContainer('row').cssBlock(MOBILE_CSS) | ||||
|             .setParent(appContext) | ||||
|             .id('root-widget') | ||||
|             .css('height', '100vh') | ||||
|             .css('height', '100%') | ||||
|             .child(new ScreenContainer("tree", 'column') | ||||
|                 .class("d-sm-flex d-md-flex d-lg-flex d-xl-flex col-12 col-sm-5 col-md-4 col-lg-4 col-xl-4") | ||||
|                 .css("max-height", "100%") | ||||
|  | ||||
| @ -7,7 +7,7 @@ export default class RootContainer extends FlexContainer { | ||||
|         super('row'); | ||||
| 
 | ||||
|         this.id('root-widget'); | ||||
|         this.css('height', '100vh'); | ||||
|         this.css('height', '100%'); | ||||
|     } | ||||
| 
 | ||||
|     refresh() { | ||||
|  | ||||
| @ -18,9 +18,11 @@ body { | ||||
|        on the last line of the editor. */ | ||||
|     position: fixed; | ||||
|     width: 100%; | ||||
|     height: 100%; | ||||
|     background-color: var(--main-background-color); | ||||
|     color: var(--main-text-color); | ||||
|     font-family: var(--main-font-family); | ||||
|     font-size: var(--main-font-size); | ||||
| } | ||||
| 
 | ||||
| a, a:visited, a:hover { | ||||
| @ -714,10 +716,6 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href | ||||
|     border-color: var(--main-border-color) !important; | ||||
| } | ||||
| 
 | ||||
| body { | ||||
|     font-size: var(--main-font-size); | ||||
| } | ||||
| 
 | ||||
| .gutter { | ||||
|     background: linear-gradient(to bottom, transparent, var(--accented-background-color), transparent); | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam