On a function node the Expand button is at the top of the scrollbar
If you move the scrollbar and drop it partly overlaying the button, The editor usually prioritises the scrollbar and fails to offer "Expand".
.
In contrast, a template node has the button above the scrollbar
. Proposed enhancement
Please move the function button so that it does not conflict with the scrollbar. Either between or to the right of the tab labels.
Alternatively, move the top of the scrollbar below the button
Yeah, I've poked at this a couple times over the years and not quite hit a satisfactory result.
One issue is there not quite enough space above the code editor in the Function node to fit the resize button when we want to maximise the vertical space give to the code editor.
We can't move the scrollbar as that is all part of the monaco widget - the expand button is one we are overlaying above it.
The button itself is in a div, sadly with no class or id but inline style <div style="position: absolute; right:0; bottom: calc(100% - 20px); z-Index: 10;">
Changing it to top : -22px moves it above the scrollbar (on my browser, on my PC) but no doubt there's a good reason for the position being relative to the bottom.
And the tab labels can be made slightly narrower to leave a bit more space.
There is space at the top of the Monaco widget to the left of the line numbers, but I think the template node would need to be changed too if you picked that option
I think the scroll is part of Monaco editor. Not sure if it can be affected by CSS or if it is programmatically set by Monaco. Also, the solution needs to take ACE into account.