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