Skip to content

Commit

Permalink
Improve gallery thumbnail sizing
Browse files Browse the repository at this point in the history
Closes #114
  • Loading branch information
bryceadams committed Jan 1, 2015
1 parent 68ae0d8 commit 4283f9e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Sure, but on food-steroids. Just check out the screenshots area.
= 1.0.8 =
* Frontend CSS file renaming
* Filters for post types and tax args
* Fix gallery thumbnail sizing

= 1.0.7 =
* Bug Fix: Update Settings Link
Expand Down
8 changes: 4 additions & 4 deletions assets/frontend/css/recipe-hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,16 @@ nav.recipe-hero-pagination {
.recipe-hero article.recipe .images .thumbnails a {
float: left; }
.recipe-hero article.recipe .images .thumbnails a.columns-3 {
width: 30.75%;
width: 30.80%;
margin-right: 3.8%; }
.recipe-hero article.recipe .images .thumbnails a.columns-4 {
width: 22.85%;
width: 23.05%;
margin-right: 2.55%; }
.recipe-hero article.recipe .images .thumbnails a.columns-5 {
width: 17.45%;
width: 18.24%;
margin-right: 2.2%; }
.recipe-hero article.recipe .images .thumbnails a.columns-6 {
width: 14.2%;
width: 14.33%;
margin-right: 2.8%; }
.recipe-hero article.recipe .images .thumbnails a img {
display: block;
Expand Down
8 changes: 4 additions & 4 deletions assets/frontend/css/recipe-hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,19 +162,19 @@ nav.recipe-hero-pagination {
a {
float:left;
&.columns-3 {
width: 30.75%;
width: 30.80%;
margin-right: 3.8%;
}
&.columns-4 {
width: 22.85%;
width: 23.05%;
margin-right: 2.55%;
}
&.columns-5 {
width: 17.45%;
width: 18.24%;
margin-right: 2.2%;
}
&.columns-6 {
width: 14.2%;
width: 14.33%;
margin-right: 2.8%;
}
img {
Expand Down

0 comments on commit 4283f9e

Please sign in to comment.