program: min col width

This commit is contained in:
Élie Bouttier 2016-10-16 23:55:27 +02:00
parent 10967c176c
commit 3650187891
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Program:
output = '<td>Room</td>'
room_cell = '<td%(options)s>%(name)s<br><b>%(label)s</b></td>'
for room, colspan in self.cols.items():
options = ' colspan="%d"' % colspan
options = ' style="min-width: 100px;" colspan="%d"' % colspan
output += room_cell % {'name': escape(room.name), 'label': escape(room.label), 'options': options}
return '<tr>%s</tr>' % output