Skip to content

Commit

Permalink
Merge pull request #335 from warpling/master
Browse files Browse the repository at this point in the history
Fix some little bugs
  • Loading branch information
simonv3 committed Dec 5, 2014
2 parents 2e59942 + 7879cae commit cca6eeb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/styles/pages/_home.css.scss
Expand Up @@ -59,6 +59,7 @@ video { display: block; }
.hero {
position: relative;
max-width: initial;
min-height: 500px;
height: inherit;

.logo {
Expand Down
2 changes: 1 addition & 1 deletion app/views/crops/show.html.erb
Expand Up @@ -44,6 +44,6 @@
<h2 class="text-center">Guides for this crop</h2>
<%= "no guides yet :(" if @guides.empty? %>
<%= render partial: '/guides/guide_results_list', object: @guides %>
<button class="button expand">Create a guide!</button>
<%= button_to "Create a guide!", new_guide_path, method:'get', class:"button expand" %>
</div>
</div>
2 changes: 1 addition & 1 deletion app/views/guides/_guide_result.html.erb
@@ -1,5 +1,5 @@
<%= link_to guide do %>
<li class="search-result-guide <%= guide[:compatibility_label] %>">
<li class="search-result-guide <%= guide.compatibility_label %>">
<div class="guide-info">
<div class="guide-name-and-author">
<h3 class="guide-name"><%= guide.name %></h3>
Expand Down

0 comments on commit cca6eeb

Please sign in to comment.