diff options
author | Patrick Simianer <p@simianer.de> | 2015-11-25 14:50:46 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-11-25 14:50:46 +0100 |
commit | c86b233eae9fc868bcddd0a3d131816a9a353381 (patch) | |
tree | deb64d82087fca055749f8c04877913a7573b2d7 /raphael.inline_text_editing.js | |
parent | 3b92468ae3ca659010381fe0fa4d5a383d0208d7 (diff) |
undo
Diffstat (limited to 'raphael.inline_text_editing.js')
-rw-r--r-- | raphael.inline_text_editing.js | 6 |
1 files changed, 3 insertions, 3 deletions
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); |