From 3b807d7f177998fa9ac6b45ad25e981dfd152aa3 Mon Sep 17 00:00:00 2001 From: Doug Le Tough Date: Thu, 8 Mar 2018 10:03:36 +0100 Subject: [PATCH] "word-wrap on table-cells" --- static/styles/tetawebapp.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/styles/tetawebapp.css b/static/styles/tetawebapp.css index 05a1bdd..b133d0d 100644 --- a/static/styles/tetawebapp.css +++ b/static/styles/tetawebapp.css @@ -421,8 +421,10 @@ div.table_header { } div.table_row { + display: table; text-align: left; width: 910px; + table-layout:fixed; } div.table_header > div, div.table_row > div { @@ -433,9 +435,12 @@ div.table_header > div, div.table_row > div { } div.table_row > div { + display: table-cell; border-color: var(--coloured-bg); border-width: 1px; font-weight: normal; + padding: 2px; + word-wrap: break-word; } div.even { @@ -453,9 +458,11 @@ div.odd { } div.table_row > div.border_left { + height: 100%; border-style: none none none solid; } div.table_row > div.border_right { + height: 100%; border-style: none solid none none; }