mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	Cleanups for the quick start guide
This commit is contained in:
		
							parent
							
								
									c1f58cf249
								
							
						
					
					
						commit
						b5770b536b
					
				
										
											Binary file not shown.
										
									
								
							@ -180,7 +180,8 @@ class PagedDisplay
 | 
				
			|||||||
            # 2*clientWidth) as if it is <= clientWidth scrolling will work
 | 
					            # 2*clientWidth) as if it is <= clientWidth scrolling will work
 | 
				
			||||||
            # anyway and if it is >= 2*clientWidth it can't be a full screen
 | 
					            # anyway and if it is >= 2*clientWidth it can't be a full screen
 | 
				
			||||||
            # layout
 | 
					            # layout
 | 
				
			||||||
            this.is_full_screen_layout = (only_img or has_svg) and single_screen and document.body.scrollWidth > document.body.clientWidth and document.body.scrollWidth < 2 * document.body.clientWidth
 | 
					            log(document.body.clientWidth, document.body.scrollWidth)
 | 
				
			||||||
 | 
					            this.is_full_screen_layout = (only_img or has_svg) and single_screen and document.body.scrollWidth > document.body.clientWidth
 | 
				
			||||||
            if is_single_page
 | 
					            if is_single_page
 | 
				
			||||||
                this.is_full_screen_layout = true
 | 
					                this.is_full_screen_layout = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user