Commit 30300dece1e675af7303fb697d4475b38efc3932
Committed by
Daniela Feitosa
1 parent
73a75da0
Exists in
master
and in
29 other branches
Adding ArticleBlock to acceptable center blocks
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
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; |