Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add button styles in.

  • Loading branch information...
commit 527bc3b91a4b6a012c9a540e398115eb4f87a310 1 parent d7a4657
@devilshaircut authored
View
7 app/assets/stylesheets/reactiongifs.css.scss
@@ -74,15 +74,16 @@ label {
@include box-shadow(0 1px 0 #ffffff);
@include box-sizing(border-box);
}
- input[type="submit"] {
+ button {
display: block;
float: right;
width: 100px;
- height: 44px;
+ height: 40px;
padding: 7px 8px 9px 8px;
- margin: -46px 2px 0 0;
+ margin: -44px 4px 0 0;
position: relative;
z-index: 100;
+ @include border-radius(3px);
@include box-sizing(border-box);
}
}
View
2  app/views/shared/_search_form.html.erb
@@ -3,7 +3,7 @@
<a href="<%= root_path %>"><h1><span>Reaction GIF</span> Database</h1></a>
<%= form_tag search_path, :method => "get" do %>
<%= text_field_tag :search, nil, :placeholder => "Search ..." %>
- <%= submit_tag "Search" %>
+ <%= button_tag "Search", :class => "btn" %>
<% end %>
</div>
<!-- .span4 .offset4 .search-form -->
Please sign in to comment.
Something went wrong with that request. Please try again.