Printing: add 'dontbreak' css class to dives
Prevent breaking the dives in flowlayout, and the rows in the table template. They should have the 'dontbreak' css selector. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
This commit is contained in:
parent
6a9c4cb9d7
commit
c862636cf0
@ -98,7 +98,7 @@
|
||||
<div id="body_div">
|
||||
{% block main_rows %}
|
||||
{% for dive in dives %}
|
||||
<div class="mainContainer">
|
||||
<div class="mainContainer dontbreak">
|
||||
<div class="innerContainer">
|
||||
<div class="diveDetails">
|
||||
<div class="dataSection">
|
||||
|
||||
@ -66,7 +66,7 @@
|
||||
</tr>
|
||||
{% block main_rows %}
|
||||
{% for dive in dives %}
|
||||
<tr style="background-color: {{ template_options.color3 }}; color: {{ template_options.color5 }};">
|
||||
<tr class="dontbreak" style="background-color: {{ template_options.color3 }}; color: {{ template_options.color5 }};">
|
||||
<th>{{ dive.number }}</th>
|
||||
<th>{{ dive.date }}</th>
|
||||
<th>{{ dive.time }}</th>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user