minor fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-03-06 17:34:55 +04:00
parent f31de3a41e
commit a15a0f0e3e
3 changed files with 10 additions and 4 deletions

View File

@ -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)

View File

@ -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')

View File

@ -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;
}