Fixes #2940: Unable to remove smart parameter with long name

Hmmm I don't think the Rails truncate method should be the thing that defines how much text should be visible. Our UI is different on mobile devices, the width can change.

Isn't simple better to let the text overwflow until the close button? I mean, isn't better just to rely on CSS here?

It renders fine here, but only on regular browser size, when I narrow it our UI goes into mobile web mode and I am unable to click on variables anymore.