Also setting the height via a class but with !important should override the inline styles.
Note sure how any of this will respond to line-breaks though. On Tuesday, January 5, 2021 at 8:31:45 PM UTC+1 Saq Imtiaz wrote: > I've struggled with this before. A few things that help IIRC: > > set minHeight to 1em > > Add a class that sets: > width: 100%; > resize: none; > white-space: nowrap; > overflow-x: scroll > > I think that gets you close but not quite there. > > On Tuesday, January 5, 2021 at 7:18:28 PM UTC+1 Mark S. wrote: > >> When I create an edit-text widget with tags="textarea", rows=1, >> autoHeight="no", instead of doing nothing, the widget generates a style >> with height=400px. Since this is a style, not a class, I have no hope of >> overwriting this behaviour with a class. And apparently the height even >> takes precedence over rows="1". >> >> What I want is a textarea box that looks like an input area, and doesn't >> expand vertically even if the input text is many lines long. I need it to >> be a textarea box because an input won't retain linefeeds. >> >> Thanks! >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/927b18e5-4994-4826-bcef-c3d23ca459bdn%40googlegroups.com.

