summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakefeasel <jfeasel@gmail.com>2014-01-08 09:39:43 -0800
committerjakefeasel <jfeasel@gmail.com>2014-01-08 09:39:43 -0800
commitc7512e08d3eee479933b0de6be398784a19bccfd (patch)
treea3bad944376f6563cf305c2103e9ccb757689321
parent6f716806b4fec0afb05090210a0aca2586f70160 (diff)
downloadsqlfiddle-c7512e08d3eee479933b0de6be398784a19bccfd.zip
sqlfiddle-c7512e08d3eee479933b0de6be398784a19bccfd.tar.gz
sqlfiddle-c7512e08d3eee479933b0de6be398784a19bccfd.tar.bz2
Removing problematic white-space rule for textareas, instead using wrap="off" attribute
-rw-r--r--src/main/webapp/stylesheets/fiddle.css1
-rw-r--r--src/main/webapp/stylesheets/fiddle.less1
-rw-r--r--src/main/webapp/views/Fiddles/index.cfm4
3 files changed, 2 insertions, 4 deletions
diff --git a/src/main/webapp/stylesheets/fiddle.css b/src/main/webapp/stylesheets/fiddle.css
index 30a4ca0..dfe2052 100644
--- a/src/main/webapp/stylesheets/fiddle.css
+++ b/src/main/webapp/stylesheets/fiddle.css
@@ -99,7 +99,6 @@ textarea.fullscreen {
#schema_ddl {
width: 98%;
font-family: monospace;
- white-space: nowrap;
overflow: auto;
font-size: 10pt;
min-height: 100px;
diff --git a/src/main/webapp/stylesheets/fiddle.less b/src/main/webapp/stylesheets/fiddle.less
index b55369b..36c5a75 100644
--- a/src/main/webapp/stylesheets/fiddle.less
+++ b/src/main/webapp/stylesheets/fiddle.less
@@ -54,7 +54,6 @@ textarea.fullscreen {
#sql, #schema_ddl {
width: 98%;
font-family: monospace;
- white-space: nowrap;
overflow: auto;
font-size: 10pt;
min-height: 100px;
diff --git a/src/main/webapp/views/Fiddles/index.cfm b/src/main/webapp/views/Fiddles/index.cfm
index 586298b..665cf78 100644
--- a/src/main/webapp/views/Fiddles/index.cfm
+++ b/src/main/webapp/views/Fiddles/index.cfm
@@ -8,7 +8,7 @@
</div>
<form id="fiddleFormDDL" method="post" action="">
- <textarea id="schema_ddl"></textarea>
+ <textarea id="schema_ddl" wrap="off"></textarea>
<div id="browser"></div>
@@ -76,7 +76,7 @@
<form id="fiddleFormSQL" method="post" action="" class="schema_ready">
- <textarea id="sql"></textarea>
+ <textarea id="sql" wrap="off"></textarea>
<div class="action_buttons">