Forum: Ruby on Rails Widen in_place_editor ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-11 10:20
Is it possible to make that groovy in_place_editor wider? As is, it's
only about 20 chars wide.

thanks
Joe
D6ae681606a23d4d66fc4ab50a15137f?d=identicon&s=25 Lori Olson (lori)
on 2006-03-11 17:16
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/HowToStyle...
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-11 20:18
Ah, thanks! This does the trick:

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

Joe
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-24 23:04
> 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
This topic is locked and can not be replied to.