We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baeddcd commit 5ecb2fdCopy full SHA for 5ecb2fd
static/jquery-linedtextarea.js
@@ -24,9 +24,8 @@
24
var textarea = $(this);
25
26
/* Wrap the text area in the elements we need */
27
- textarea.wrap("<div class='linedtextarea' style='height:100%; overflow:hidden'></div>");
28
- textarea.width("97%");
29
- textarea.parent().prepend("<div class='lines' style='width:3%'></div>");
+ textarea.wrap("<div class='linedtextarea' style='height:100%; overflow:hidden;display:flex;'></div>");
+ textarea.parent().prepend("<div class='lines' style='height: max-content;'></div>");
30
var linesDiv = textarea.parent().find(".lines");
31
32
var scroll = function(tn) {
0 commit comments