From 77a14762f9b18f68b65b7c91576e3906951806c3 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Thu, 11 Jul 2024 09:36:59 -0400 Subject: html table width 100% --- library_info_cli.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library_info_cli.py b/library_info_cli.py index 6ffaf21..5416662 100755 --- a/library_info_cli.py +++ b/library_info_cli.py @@ -93,7 +93,8 @@ def html(checkouts, reservations): prn("Last modified: " + now.strftime("%FT%TZ") + "\n") prn("

Checkouts

\n") if len(checkouts): - prn("\n") + # for some reason, DataTables will let a table resize with browser window resize only if the table object itself has the style. A css entry for "table" does not affect DataTables. + prn("
\n") prn(f"\n") prn("\n") for i in checkouts: @@ -117,7 +118,7 @@ def html(checkouts, reservations): prn(f"No checkouts.\n") prn("

Reservations

\n") if len(reservations): - prn(f"
PatronbarcodedueformatcoverTitle
\n") + prn(f"
\n") prn(f"\n") prn("\n") for i in reservations: -- cgit
Patrondate placedlocationpositionstatuscovertitle