Width of edit-text text areas

53 views
Skip to first unread message

David Gifford

unread,
May 2, 2021, 8:09:34 AM5/2/21
to TiddlyWiki
Hi all

Any way to make width of edit-text text areas 100%? The instructions at tiddlywiki.com only show how to adjust the height, not the width. I tried adding class="wideedit", then added the class to a Stylesheet tiddler

input .wideedit {width:100%;}
.wideedit input {width:100%;}
.wideedit textarea {width:100%;}
 textarea  .wideedit {width:100%;}

one at a time, and none of them worked.




Saq Imtiaz

unread,
May 2, 2021, 8:41:22 AM5/2/21
to TiddlyWiki
textarea.wideedit {width:100%;}

David Gifford

unread,
May 2, 2021, 9:03:18 AM5/2/21
to tiddl...@googlegroups.com
Yes! Thanks Saw!

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/GlmyzLM6--4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bd1211f1-bd7f-4571-a1e3-f5e7795e486fn%40googlegroups.com.

Soren Bjornstad

unread,
May 2, 2021, 9:14:50 AM5/2/21
to TiddlyWiki
textarea .wideedit means "all textarea elements that contain an element with the wideedit class" ("contain" can be any number of levels deep). Similarly, .wideedit textarea means "all elements with the wideedit class that contain a textarea element".

Whereas textarea.wideedit, without the space, puts both criteria on the same element, so "all textarea elements that have the wideedit class".

David Gifford

unread,
May 2, 2021, 9:17:23 AM5/2/21
to TiddlyWiki
Thanks Soren!

David Gifford

unread,
May 2, 2021, 9:17:43 AM5/2/21
to TiddlyWiki
Thanks SAQ (saw was a typo)
Reply all
Reply to author
Forward
0 new messages