Skip to content

Commit

Permalink
Remove margin around index list; Fix spacing around item actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bloopletech committed Jun 17, 2015
1 parent 3fbd124 commit 671b0e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/index.scss
Expand Up @@ -18,6 +18,7 @@

.title { }
#items {
margin: 0;
padding: 2px 0 0 2px;

li {
Expand Down
2 changes: 1 addition & 1 deletion app/views/items/_item.html.haml
Expand Up @@ -8,7 +8,7 @@
= image_tag("icons/award_star_bronze_1.png", title: "Has been read 10 or more times.")
- if many_pages
= image_tag("icons/book.png", title: "Has 50 or more pages")
.actions
.actions<
= link_to(image_tag("icons/zoom.png", title: "More information about this item"), more_info_item_path(item), data: { featherlight: 'ajax' })
= link_to(image_tag("icons/delete.png", title: 'Delete this item'), item_path(item), method: 'delete', confirm: "Are you sure you want to delete #{item.title}?", remote: true)
= link_to(image_tag(item.preview.thumbnail.url), send("#{item.type.downcase}_path", item), target: '_blank')
Expand Down

0 comments on commit 671b0e3

Please sign in to comment.