Is it possible to make that groovy in_place_editor wider? As is, it’s
only about 20 chars wide.
thanks
Joe
Is it possible to make that groovy in_place_editor wider? As is, it’s
only about 20 chars wide.
thanks
Joe
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
Ah, thanks! This does the trick:
.inplaceeditor-form input[type=text] { width: 200px; }
Joe
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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs