Skip to content

Commit

Permalink
move float:right on reset to stylesheet instead of inline
Browse files Browse the repository at this point in the history
  • Loading branch information
jrochkind committed Aug 16, 2010
1 parent 1a18ecb commit fd53814
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/advanced/_advanced_search_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
<%= select_tag(:sort, options_for_select(Blacklight.config[:sort_fields],'')) %>
<%= hidden_field_tag(:search_field, BlacklightAdvancedSearch.config[:url_key]) %>
<%= submit_tag 'search', :class=>'advanced_button', :id=>'advanced_search' %>
<a href="#" class="reset" style="float:right;">clear form</a>
<a href="#" class="reset">clear form</a>
</div>
<% end %>
4 changes: 4 additions & 0 deletions assets/stylesheets/blacklight_advanced_search_styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ form.advanced .adv_facet_selections {
margin-top: 0.25em;
}

form.advanced .reset {
float: right;
}


.advanced_help li {
margin-top: 0.5em;
Expand Down

0 comments on commit fd53814

Please sign in to comment.