Widen in_place_editor?


#1

Is it possible to make that groovy in_place_editor wider? As is, it’s
only about 20 chars wide.

thanks
Joe


#2

Joe wrote:

Is it possible to make that groovy in_place_editor wider? As is, it’s
only about 20 chars wide.

thanks
Joe

You need to use the pre-defined CSS styles to do that.

http://wiki.rubyonrails.org/rails/pages/HowToStyleInPlaceEditorWithCss


#3

Ah, thanks! This does the trick:

.inplaceeditor-form input[type=text] { width: 200px; }

Joe


#4

This does the trick:

.inplaceeditor-form input[type=text] { width: 200px; }

If you have two different inplace editors on a page, is it possible to
set them each to different widths?

Joe