Commit 30300dece1e675af7303fb697d4475b38efc3932

Authored by Daniel Cunha
Committed by Daniela Feitosa
1 parent 73a75da0

Adding ArticleBlock to acceptable center blocks

app/models/box.rb
... ... @@ -11,6 +11,7 @@ class Box < ActiveRecord::Base
11 11  
12 12 def acceptable_center_blocks
13 13 %w{
  14 + ArticleBlock
14 15 CommunitiesBlock
15 16 EnterprisesBlock
16 17 FriendsBlock
... ...
public/stylesheets/application.css
... ... @@ -1394,6 +1394,7 @@ a.comment-picture {
1394 1394 position: relative;
1395 1395 display: inline;
1396 1396 }
  1397 +#content #boxes .box-1 .article-block img,
1397 1398 #content #article .article-body img {
1398 1399 max-width: 100%;
1399 1400 height: auto;
... ...