Skip to content

Commit

Permalink
Merge pull request StartBootstrap#21 from challgren/responsive_table
Browse files Browse the repository at this point in the history
Correcting unnecessary horizontal scroll bar
  • Loading branch information
David Miller committed Dec 28, 2014
2 parents 8215932 + fcf0cdc commit 1fbad14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions css/sb-admin-2.css
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ body {
height: 100%;
}

.dataTables_wrapper {
position: relative;
clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
Expand Down
2 changes: 1 addition & 1 deletion tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ <h1 class="page-header">Tables</h1>
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div class="table-responsive">
<div class="dataTable_wrapper">
<table class="table table-striped table-bordered table-hover" id="dataTables-example">
<thead>
<tr>
Expand Down

0 comments on commit 1fbad14

Please sign in to comment.