mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-12 10:30:47 +01:00
Dashboard: Add table-responsive wrapper for transactions and invoices (#6006)
Fixes #5721.
This commit is contained in:
parent
a3b0bbe861
commit
fefb99dfa2
3 changed files with 84 additions and 80 deletions
|
@ -34,7 +34,8 @@
|
||||||
}
|
}
|
||||||
else if (Model.Invoices.Any())
|
else if (Model.Invoices.Any())
|
||||||
{
|
{
|
||||||
<table class="table table-hover mt-3 mb-0">
|
<div class="table-responsive mt-3 mb-0">
|
||||||
|
<table class="table table-hover mb-0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="w-125px">Date</th>
|
<th class="w-125px">Date</th>
|
||||||
|
@ -62,6 +63,7 @@
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,8 @@
|
||||||
}
|
}
|
||||||
else if (Model.Transactions.Any())
|
else if (Model.Transactions.Any())
|
||||||
{
|
{
|
||||||
<table class="table table-hover mt-3 mb-0">
|
<div class="table-responsive mt-3 mb-0">
|
||||||
|
<table class="table table-hover mb-0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="w-125px">Date</th>
|
<th class="w-125px">Date</th>
|
||||||
|
@ -86,6 +87,7 @@
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -473,7 +473,7 @@ svg.icon-note {
|
||||||
font-weight: var(--btcpay-font-weight-bold);
|
font-weight: var(--btcpay-font-weight-bold);
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget .table {
|
.widget *:not([class*='table-responsive']) > .table {
|
||||||
margin-left: -.5rem;
|
margin-left: -.5rem;
|
||||||
margin-right: -.5rem;
|
margin-right: -.5rem;
|
||||||
width: calc(100% + 1rem);
|
width: calc(100% + 1rem);
|
||||||
|
|
Loading…
Add table
Reference in a new issue