Wrap text in editor before the buttons.

* Adds 52 px margin-right
* Fixes #3223
Merge pull request #3241 from oskarhane/fix_hidden_editor_text

[2.2] Browser: Wrap text in editor before the buttons.