Private
Public Access
1
0

css for tables in virtual race result

This commit is contained in:
Sander Roosendaal
2021-09-27 21:26:37 +02:00
parent 39e4a4c65d
commit e70cca7f37
2 changed files with 4 additions and 3 deletions

View File

@@ -90,7 +90,7 @@
<h2>Challenge Information</h2> <h2>Challenge Information</h2>
</p> </p>
<p> <p>
<table class="listtable shortpadded" width="100%"> <table class="listtable shortpadded" width="100%>
<tbody> <tbody>
{% if race.sessiontype == 'race' %} {% if race.sessiontype == 'race' %}
<tr> <tr>

View File

@@ -45,8 +45,9 @@ q:before, q:after {
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
word-wrap: break-word; overflow-wrap: break-word;
table-layout: fixed; table-layout: auto;
word-break: break-all;
} }
/* apply a natural box layout model to all elements, but allowing components to change */ /* apply a natural box layout model to all elements, but allowing components to change */