TinyEditor icon indicating copy to clipboard operation
TinyEditor copied to clipboard

make smaller

Open pbhj opened this issue 6 years ago • 3 comments

I think you can switch out "textarea, iframe{ ...}" in the CSS for body>*{...} as it applies to all elements immediately below body, which is in this case all the textareas and the iframe.

Apologies if this is the wrong way to do a pull, or bad social form; I'm not really a coder.

pbhj avatar Aug 11 '18 22:08 pbhj

*>*>*{width:100%;height:50%} /* html > body > * */
*{margin:0} /* suggested in #1 by @mstaniuk */
:valid{width:33.33%;font-size:18} /* textareas are always valid */

notpushkin avatar Aug 12 '18 00:08 notpushkin

OK, even better! [id]{width:100%;height:50%} should do the trick too

notpushkin avatar Aug 12 '18 01:08 notpushkin

That's a good one @notpushkin, it's quite a while since I did active webdev, didn't recall that selector.

https://www.w3.org/TR/CSS2/selector.html#attribute-selectors

pbhj avatar Aug 12 '18 16:08 pbhj