Add table-responsive

This commit is contained in:
2019-11-26 22:01:59 -05:00
parent bc9fac2785
commit 5eeda61e47
2 changed files with 25 additions and 21 deletions
+2
View File
@@ -29,6 +29,7 @@
@if (Model.Items.Any())
{
<div class="table-responsive">
@grid.Table(columns:
grid.Columns(
grid.Column("Identifier", "Identifier"),
@@ -40,6 +41,7 @@
htmlAttributes: new {@class = "table table-striped table-bordered table-hover table-condensed"}
)
@grid.BootstrapPager()
</div>
}
else
{
+2
View File
@@ -5,6 +5,7 @@
var grid = new WebGrid(Model, rowsPerPage: 45);
}
<div class="table-responsive">
@grid.Table(columns:
grid.Columns(
grid.Column("Identifier", "Identifier"),
@@ -15,6 +16,7 @@
),
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
)
</div>
@grid.BootstrapPager()
@helper ChartLink(LeafInput leafInput)