
I remember reading a thread here a week or two ago about an input that changes size based on its content. Normally this is impossible with JS, but someone figured it out within roll20.
Does anyone have a link?
Does anyone have a link?
<div> <input name="attr_example"> <span name="attr_example"></span> </div>
div { position: relative; } input { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; } span { display: block; }The above is completely untested, and probably won't work as-is. But maybe you can use it as a starting point. =)