aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-05-30 08:34:05 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-05-30 08:34:05 +0200
commit759a16a460e0aebcb4dbc9421062f818067c9c55 (patch)
tree35b8a0b6ec4d780aa05cd64c5cc1f4d01659e640
parent054f2a628ddec3fc1f301f4f01da7646199c9b0b (diff)
downloadslcl-759a16a460e0aebcb4dbc9421062f818067c9c55.tar.gz
page.c: Apply max-width to table
This will help users to read tables with long file names.
-rw-r--r--page.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/page.c b/page.c
index cb2bffb..cf04f9a 100644
--- a/page.c
+++ b/page.c
@@ -1331,6 +1331,10 @@ int page_style(struct http_response *const r)
" justify-content: center;\n"
" text-decoration: auto;\n"
"}\n"
+ "table\n"
+ "{\n"
+ " max-width: 50%;\n"
+ "}\n"
"tr:nth-child(even)\n"
"{\n"
" background-color: lightgray;\n"