The edit-text widget automatically resizes textareas to fit their content.
Currently, the minimum height of 100px is hardcoded in the widget. The
height is set as a direct style attribute on the textarea, which is why
you've not been able to override it with CSS.

Would adding a "min-height" attribute to the edit-text widget fit your use
case?

Best wishes

Jeremy.


On Wed, Oct 22, 2014 at 9:24 PM, 'Stephen Kimmel' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Did you assigned a specific class to the text area? It works just fine for
>> me with height : 50px.
>
>
> I did indeed. I found that I can increase the size of the text area by
> assigning a height of 200px over-rides whatever the default is but going
> smaller does not.
>
> A specific example:
>
> <div class="sk">
>
> <$edit-text tag="textarea" field="actionitem" placeholder="placeholder"/>
>
> <textarea>At w3schools.com you will learn how to make a website. We offer
> free tutorials in all web development technologies.
> </textarea>
>
> </div>
>
> where sk is defined in a style tiddler as
>
> .sk textarea { border-color: green; border-style: solid; border-width:
> thin; padding: 3px; outline: none; overflow: auto; height: 50px; }
>
> gives two different size boxes with green borders with one having the word
> "placeholder" is grey and the other having the w3schools text and a
> scrollbar.
>
> If it matters I'm working with today's release TW5.1.4.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to