DEV Community

Tao Liu
Tao Liu

Posted on

Fix: Resize the f.text_area field in rails

You could use CSS to style the textarea, just like this:

textarea#message_area {
width: 100px;
height: 100px;
}

https://stackoverflow.com/questions/7008781/resizing-a-f-text-area-in-rails

Top comments (0)