Tweak styles for cell inline textarea elements
This commit is contained in:
parent
bfd4335e61
commit
164681dcdd
@ -105,6 +105,7 @@
|
|||||||
|
|
||||||
#sidebar div.tables-list #tables {
|
#sidebar div.tables-list #tables {
|
||||||
padding: 33px 0 0;
|
padding: 33px 0 0;
|
||||||
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar div.table-information {
|
#sidebar div.table-information {
|
||||||
@ -327,6 +328,7 @@
|
|||||||
|
|
||||||
#results td textarea {
|
#results td textarea {
|
||||||
color: #000 !important;
|
color: #000 !important;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#results th:first-child,
|
#results th:first-child,
|
||||||
|
@ -350,12 +350,12 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var value = unescapeHtml($(this).html());
|
var value = unescapeHtml($(this).html());
|
||||||
|
if (!value) { return; }
|
||||||
|
|
||||||
if (!value) {
|
var textarea = $("<textarea />").
|
||||||
return;
|
text(value).
|
||||||
}
|
addClass("form-control").
|
||||||
|
css("width", $(this).css("width"));
|
||||||
var textarea = $("<textarea />").text(value).css("width", $(this).css("width"));
|
|
||||||
|
|
||||||
if (value.split("\n").length >= 3) {
|
if (value.split("\n").length >= 3) {
|
||||||
textarea.css("height", "200px");
|
textarea.css("height", "200px");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user