z-index: 600;
}
-/* annotation editing shouldn't interfere with gallery */
-#html-view span.annotation-inline-box {
- position:absolute;
- left:0px;
-}
-
/*
* Przypisy na końcu utworu (aktualnie nieuzywane)
*/
top: -21px;
left: -1px;
width: 72px;
- height: 21px;
+ height: 28px;
display: block;
/* margin: 4px 0 2px 0;*/
padding: 5px 5px 2px 5px;
$box = $origin;
}
- var x = $box[0].offsetLeft;
- var y = $box[0].offsetTop;
+ /* always stick to the left to avoid interfering with gallery */
+ var x = 20;
+ var y = $origin.offset().top + $("#html-view").scrollTop();
+
+
var w = $box.outerWidth();
var h = $box.innerHeight();
left: x,
top: y,
width: w
- }).appendTo($box[0].offsetParent || $box.parent()).show();
+ }).appendTo($('#html-view')).show(); /* appending outside of the document structure */
+
if ($origin.is('.motyw')) {
$('textarea', $overlay).autocomplete('/themes', {