/* Wallet histories paginate ten rows at a time without a nested vertical
   scroller. Wide tables retain horizontal access and all transaction data. */
#wallets { grid-template-columns: minmax(0, 1fr); }
#wallets > .card, #wallets .wallet-row, #wallets .wallet-row > .card {
  min-width: 0;
  max-width: 100%;
}
#pending-deposits-out, #deposit-history-out, #pending-withdrawals-out {
  min-width: 0;
  max-width: 100%;
  height: auto;
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}
#pending-deposits-out tr[hidden], #deposit-history-out tr[hidden],
#pending-withdrawals-out tr[hidden] { display: none !important; }
#wallets .frontpage-trade-pagination button { min-height: 44px; }

/* Page contents must not redistribute column widths. A readable, stable table
   can still be swiped horizontally on a phone; no content is clipped. */
#wallets .data-table table {
  table-layout: fixed;
  width: 100%;
  min-width: 60rem;
}
#wallets .data-table th:nth-child(1) { width: 7%; }
#wallets .data-table th:nth-child(2) { width: 16%; }
#wallets .data-table th:nth-child(3) { width: 12%; }
#wallets .data-table th:nth-child(4) { width: 14%; }
#wallets .data-table th:nth-child(5) { width: 31%; }
#wallets .data-table th:nth-child(6) { width: 20%; }
#wallets .data-table th, #wallets .data-table td {
  overflow-wrap: anywhere;
  vertical-align: middle;
}
#wallets .txid-text code {
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
#wallets .txid-actions { align-items: center; }
#wallets .txid-actions .tx-copy {
  width: auto;
  min-height: 44px;
  margin: 0;
  flex: 0 0 auto;
}
