mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 03:00:09 +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(){
|
||||
|
||||
// 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...
|
||||
$(window)
|
||||
.resize(updateView)
|
||||
|
||||
@ -104,6 +104,7 @@ function handleClick(evt, data){
|
||||
}
|
||||
|
||||
// Click on caption...
|
||||
// XXX add inline captions...
|
||||
function handleCaption(evt, data){
|
||||
elem = $(data.orig_event.target)
|
||||
if(elem.is('.image-fit-height, .image-fit')
|
||||
|
||||
@ -196,11 +196,10 @@
|
||||
|
||||
/* 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.horizontal-image-fit .caption,
|
||||
.full-page-view-mode.editor .current.page.vertical-image-fit .caption {
|
||||
opacity: 0.8;
|
||||
.full-page-view-mode.editor .current.page.image-fit-height .caption {
|
||||
opacity: 1;
|
||||
height: auto;
|
||||
min-height: 100px;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user