mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +00:00 
			
		
		
		
	minor fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									f31de3a41e
								
							
						
					
					
						commit
						a15a0f0e3e
					
				| @ -183,6 +183,12 @@ var keyboard_config = { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| $(document).ready(function(){ | $(document).ready(function(){ | ||||||
|  | 
 | ||||||
|  | 	// this is to fix some sort of bug baking things align in a wrong  | ||||||
|  | 	// way at startup... | ||||||
|  | 	// XXX make this fix in the CSS -- most likely stray transition somewhere... | ||||||
|  | 	setTransitionDuration($('.magazine, .page'), 0) | ||||||
|  | 
 | ||||||
| 	// general window behavior... | 	// general window behavior... | ||||||
| 	$(window) | 	$(window) | ||||||
| 		.resize(updateView) | 		.resize(updateView) | ||||||
|  | |||||||
| @ -104,6 +104,7 @@ function handleClick(evt, data){ | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // Click on caption...
 | // Click on caption...
 | ||||||
|  | // XXX add inline captions...
 | ||||||
| function handleCaption(evt, data){ | function handleCaption(evt, data){ | ||||||
| 	elem = $(data.orig_event.target) | 	elem = $(data.orig_event.target) | ||||||
| 	if(elem.is('.image-fit-height, .image-fit')  | 	if(elem.is('.image-fit-height, .image-fit')  | ||||||
|  | |||||||
| @ -196,11 +196,10 @@ | |||||||
| 
 | 
 | ||||||
| /* allways show captions in editor's full page mode */ | /* allways show captions in editor's full page mode */ | ||||||
| .full-page-view-mode.editor .current.page.image-fit .caption, | .full-page-view-mode.editor .current.page.image-fit .caption, | ||||||
| .full-page-view-mode.editor .current.page.horizontal-image-fit .caption, | .full-page-view-mode.editor .current.page.image-fit-height .caption { | ||||||
| .full-page-view-mode.editor .current.page.vertical-image-fit .caption { | 	opacity: 1; | ||||||
| 	opacity: 0.8; |  | ||||||
| 	height: auto; | 	height: auto; | ||||||
| 	min-height: 100px; | 	min-height: 30px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user