Skip to content

Commit

Permalink
Set background on news lead images for transparent imgs
Browse files Browse the repository at this point in the history
This fixes #107
  • Loading branch information
Stephan Klinger committed May 16, 2016
1 parent f14f617 commit b7276d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions plonetheme/barceloneta/theme/less/barceloneta-compiled.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion plonetheme/barceloneta/theme/less/behaviors.plone.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
box-shadow: 0 1px 2px rgba(0,0,0,.17);
overflow: hidden;

a { display: table; }
a {
display: table;
background-color: @plone-body-bg;
}
a img { display: block; }
figcaption {
display: table-caption;
Expand Down

0 comments on commit b7276d8

Please sign in to comment.