mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue