Skip to content

Commit

Permalink
Fix width of article images that a smaller than content
Browse files Browse the repository at this point in the history
  • Loading branch information
andreynovikov committed May 16, 2016
1 parent eea51ef commit 32f892f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions static/assets/css/main.css

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

3 changes: 2 additions & 1 deletion static/assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,13 @@

img {
display: block;
width: 100%;
max-width: 100%;

&.featured {
margin: 0 0 2em 0;
max-height: 400px;
object-fit: cover;
width: 100%;
}

&.left {
Expand Down

0 comments on commit 32f892f

Please sign in to comment.