Skip to content

Commit

Permalink
Added table responsive class in wice_container
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfox1985 committed Jul 13, 2015
1 parent ad2c73a commit 6820502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wice/helpers/wice_grid_view_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def grid_html(grid, options, rendering, reuse_last_column_for_filter_buttons) #:
# Ruby 1.9.x
grid.output_buffer.force_encoding('UTF-8') if grid.output_buffer.respond_to?(:force_encoding)

grid.output_buffer << %!<div class="wice-grid-container" data-grid-name="#{grid.name}" id="#{grid.name}"><div id="#{grid.name}_title">!
grid.output_buffer << %!<div class="wice-grid-container table-responsive" data-grid-name="#{grid.name}" id="#{grid.name}"><div id="#{grid.name}_title">!
grid.output_buffer << content_tag(:h3, grid.saved_query.name) if grid.saved_query
grid.output_buffer << "</div><table #{tag_options(table_html_attrs, true)}>"
grid.output_buffer << "<caption>#{rendering.kaption}</caption>" if rendering.kaption
Expand Down

0 comments on commit 6820502

Please sign in to comment.