ryanb / letter_opener

Preview mail in the browser instead of sending.
MIT License
3.73k stars 237 forks source link

How do I make the preview pane wider in web view? #131

Closed NullVoxPopuli closed 7 years ago

NullVoxPopuli commented 8 years ago

It looks like emails are constrained to a fixed width. How to I make the email preview variable width?

nashby commented 7 years ago

With master brunch you should be able to set light version of email template with

LetterOpener.configure do |config|
  config.message_template = :light
end
JuPlutonic commented 7 years ago

I put it to cofig/initializers/letter_opener.rb and got error:

/....../Ruby/ruby/MyUsers/my_users/config/initializers/letter_opener.rb:1:in `<top (required)>': undefined method `configure' for LetterOpener:Module (NoMethodError)