Skip to content

[UI] Set textarea resize:vertical by default.

gitlab-qa-bot requested to merge github/fork/cirosantilli/resize-vertical into master

Created by: cirosantilli

Horizontal resize breaks every textarea in of the UI should never be allowed.

Also, it is hard for users to resize vertically without resizing horizontally, so they are likely to do it by mistake.

This change intends to affect every textarea of the app.

This is an extension of: https://github.com/gitlabhq/gitlabhq/pull/7483

Sample breaks:

With a float right as in milestone:

screenshot from 2014-09-19 08 59 38 gitlab text resize milestone

If you stretch the textarea horizontally and then shrink the browser window, it does not resize and falls out:

screenshot from 2014-09-19 09 00 54 gitlab textarea resize comment out of window

And in general, it is ugly having the textarea not align with the rest of the UI:

screenshot from 2014-09-19 09 01 33 gitlab textarea resize issue small

Burninate!

Merge request reports