"word-wrap on table-cells"

This commit is contained in:
Doug Le Tough 2018-03-08 10:03:36 +01:00
parent 11124258f4
commit 3b807d7f17

View File

@ -421,8 +421,10 @@ div.table_header {
} }
div.table_row { div.table_row {
display: table;
text-align: left; text-align: left;
width: 910px; width: 910px;
table-layout:fixed;
} }
div.table_header > div, div.table_row > div { div.table_header > div, div.table_row > div {
@ -433,9 +435,12 @@ div.table_header > div, div.table_row > div {
} }
div.table_row > div { div.table_row > div {
display: table-cell;
border-color: var(--coloured-bg); border-color: var(--coloured-bg);
border-width: 1px; border-width: 1px;
font-weight: normal; font-weight: normal;
padding: 2px;
word-wrap: break-word;
} }
div.even { div.even {
@ -453,9 +458,11 @@ div.odd {
} }
div.table_row > div.border_left { div.table_row > div.border_left {
height: 100%;
border-style: none none none solid; border-style: none none none solid;
} }
div.table_row > div.border_right { div.table_row > div.border_right {
height: 100%;
border-style: none solid none none; border-style: none solid none none;
} }