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

> @lzap , I can change it back to css  but the css solution pushed the close button to under the text

I thought so :)

I am no CSS guru, so I am fine with what you propose here (to limit it
in Rails).

-- 
Later,
 Lukas #lzap Zapletal