script-server icon indicating copy to clipboard operation
script-server copied to clipboard

Multi-Line Text Field Needs side scroll

Open raszuk opened this issue 1 year ago • 1 comments

The Request Multi-Line Text Field #475 added multiline text. It is awesome addition, but with longer then page text pasted into it yields unusable as result part is no longer visible in the browser.

Is there some way to limit number of lines visible in multiline text section and add side scroll bar to it to scroll through longer then half of the screen text ? Thx !

raszuk avatar Apr 10 '23 11:04 raszuk

@raszuk I have the following CSS override on conf/theme/theme.css just for that (create it if you don't have it).

.script-parameters-panel .parameter textarea {
    max-height: 15em;
    overflow: auto;
}

It will give you around max 10 lines of text, you can play with max-height and set it to your liking. If content exceeds that max, then it will add scroll bar.

chiva avatar Apr 12 '23 15:04 chiva