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

@lzap the Rails limitation is still problematic, @eLobato doesn't see the text truncated.
I think it might be better to have the close button pushed down then the text not truncated correctly and maybe someone will know how to fix the css.
What do you think?