mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 20:10:13 +00:00 
			
		
		
		
	resize test...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									189cfe4666
								
							
						
					
					
						commit
						7b4599c2a6
					
				| @ -125,6 +125,7 @@ $(document).ready(function(){ | ||||
| 		.on('swipeRight', handleSwipeRight) | ||||
| 		.on('screenReleased', handleScrollRelease) | ||||
| 
 | ||||
| 	/* | ||||
| 	// try a way of cheating... | ||||
| 	var w = $('.viewer').width() | ||||
| 	var h = $('.viewer').height() | ||||
| @ -140,6 +141,7 @@ $(document).ready(function(){ | ||||
| 		'margin-top': -h/2, | ||||
| 		height: h, | ||||
| 	}) | ||||
| 	*/ | ||||
| 
 | ||||
| 	// XXX stub... | ||||
| 	setTransitionEasing($('.magazine'), 'ease-out') | ||||
|  | ||||
| @ -54,8 +54,8 @@ body { | ||||
| 
 | ||||
| 	/* these set the "safe" marks for page content */ | ||||
| 	/* XXX change to relative units... */ | ||||
| 	width: 800px; | ||||
| 	height: 600px; | ||||
| 	width: 1024px; | ||||
| 	height: 768px; | ||||
| 
 | ||||
| 
 | ||||
| 	-webkit-transition: all 0.2s ease; | ||||
| @ -180,9 +180,9 @@ body { | ||||
| 
 | ||||
| 	min-width: 200px; | ||||
| 	/* XXX has to be the same as default page height */ | ||||
| 	height: 600px; | ||||
| 	height: 768px; | ||||
| 	/* XXX has to pe half of page height */ | ||||
| 	margin-top: -300px; | ||||
| 	margin-top: -384px; | ||||
| 
 | ||||
| 	/* this is minus half the page width */ | ||||
| 	/* XXX change to relative units... */ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user