From: zuber Date: Mon, 8 Mar 2010 21:55:29 +0000 (+0100) Subject: Poprawki stylu pokazywania przypisów. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/916dc16ab669079790e11beba72cb14c9b951389?hp=a565c0c45097df14fe1981edd6794c1511f73ae0 Poprawki stylu pokazywania przypisów. --- diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index f9adfabb..0f227b4a 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -661,7 +661,7 @@ function html(element) { } if (editable.is('.annotation-inline-box')) { $('*[x-annotation-box]', editable) - .css({position: 'absolute', left: event.clientX - editable.offset().left, top: event.clientY - editable.offset().top}) + .css({width: 300, position: 'absolute', left: event.clientX - editable.offset().left + 5, top: event.clientY - editable.offset().top + 5}) .show(); } else { $('*[x-annotation-box]').hide();