From 1063b78adc96fb7e585b546708df3eef07349003 Mon Sep 17 00:00:00 2001 From: Anmol Agrawal Date: Mon, 29 Sep 2014 21:38:42 +0530 Subject: change #2 to issue #74 --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.html') diff --git a/index.html b/index.html index 00163aba..80cec76a 100644 --- a/index.html +++ b/index.html @@ -41,7 +41,7 @@
- +
-- cgit v1.3.1 From a1f783d8e22fa17c3ea60181bc08be30dc19ffa9 Mon Sep 17 00:00:00 2001 From: Anmol Agrawal Date: Tue, 30 Sep 2014 00:39:50 +0530 Subject: #62 - Fix number 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The text box is fixed except that it doesn’t return to it’s original size. --- index.html | 2 +- style.css | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 80cec76a..2faa53ae 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@
-
+
diff --git a/style.css b/style.css index 9bccd5b8..a359d77e 100644 --- a/style.css +++ b/style.css @@ -72,8 +72,8 @@ a:active { #textanalyser{ position: fixed; - width:900px; height:30px; + max-width: 70%; } input:focus { @@ -83,14 +83,12 @@ input:focus { #suggestion{ display:block; position:fixed; - top:30px; - left:20px; + top:30px; + left:20px; list-style-type: none; width:900px; } - - .node { stroke: #fff; stroke-width: 1px; -- cgit v1.3.1 From cb00ca7ca7fff56ab35f0d2d7def54d9725eb601 Mon Sep 17 00:00:00 2001 From: Anmol Agrawal Date: Tue, 30 Sep 2014 16:07:04 +0530 Subject: #62 - Refactored code --- index.html | 2 +- scripts/rhizicore.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 2faa53ae..9685c594 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@
-
+
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index f8bf53ed..4692602b 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -1065,7 +1065,9 @@ function customSize(type) { return size; } -function Expand(obj){ - if (!obj.savesize) obj.savesize=obj.size; - obj.size=Math.max(obj.savesize,obj.value.length); +function expand(obj){ + if (!obj.savesize) + obj.savesize = obj.size; + obj.size = Math.max(obj.savesize,obj.value.length); + } -- cgit v1.3.1