From c86b233eae9fc868bcddd0a3d131816a9a353381 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 25 Nov 2015 14:50:46 +0100 Subject: undo --- raphael.inline_text_editing.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'raphael.inline_text_editing.js') diff --git a/raphael.inline_text_editing.js b/raphael.inline_text_editing.js index ca17af0..db5df1e 100644 --- a/raphael.inline_text_editing.js +++ b/raphael.inline_text_editing.js @@ -99,10 +99,10 @@ // Prepare input styles var oStyles = { position: 'absolute', - background: 'black', + background: 'white', left: x-3+'px', top: y-3+'px', - width: width+10+'px', + width: width+'px', "background-color": "rgba(1, f, f, 0.2)", height: height+5+'px', color: subject.attrs.fill, @@ -180,7 +180,7 @@ this.input.parentNode.appendChild(tmp); - this.input.style.width = tmp.offsetWidth+50 + "px"; + this.input.style.width = tmp.offsetWidth+22 + "px"; this.input.style.height = tmp.offsetHeight+5 + "px"; tmp.parentNode.removeChild(tmp); -- cgit v1.2.3