mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-23 05:15:45 -04:00
mobile emails, use 100% / auto img sizing
This commit is contained in:
parent
2517496bf4
commit
ab91120547
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module Email
|
|||
img['width'] = 20
|
||||
img['height'] = 20
|
||||
else
|
||||
add_styles(img, 'max-width: 694px;') if img['style'] !~ /max-width/
|
||||
add_styles(img, 'max-width:100%;height:auto;') if img['style'] !~ /max-width/
|
||||
end
|
||||
|
||||
# ensure all urls are absolute
|
||||
|
|
Loading…
Reference in a new issue