mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve paddings & margins: Bold
This commit is contained in:
parent
020c767360
commit
cd2ce9ffe2
@ -141,6 +141,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#table-totals {
|
#table-totals {
|
||||||
|
margin-top: 1rem;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 2fr 1fr;
|
grid-template-columns: 2fr 1fr;
|
||||||
padding-top: .5rem;
|
padding-top: .5rem;
|
||||||
@ -241,6 +242,17 @@
|
|||||||
<div class="footer-wrapper" id="footer">
|
<div class="footer-wrapper" id="footer">
|
||||||
<div>
|
<div>
|
||||||
<p data-ref="total_table-footer">$entity_footer</p>
|
<p data-ref="total_table-footer">$entity_footer</p>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Clear up space a bit, if [product-table, tasks-table, delivery-note-table] isn't present.
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
['product-table', 'task-table', 'delivery-note-table'].forEach((tableIdentifier) => {
|
||||||
|
document.getElementById(tableIdentifier).childElementCount === 0
|
||||||
|
? document.getElementById(tableIdentifier).style.display = 'none'
|
||||||
|
: '';
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</div>
|
</div>
|
||||||
<div> <!-- #2 column --> </div>
|
<div> <!-- #2 column --> </div>
|
||||||
<div> <!-- #3 column --> </div>
|
<div> <!-- #3 column --> </div>
|
||||||
@ -269,9 +281,9 @@
|
|||||||
|
|
||||||
<table id="task-table" cellspacing="0"></table>
|
<table id="task-table" cellspacing="0"></table>
|
||||||
|
|
||||||
<div id="table-totals" cellspacing="0"></div>
|
|
||||||
|
|
||||||
<table id="delivery-note-table" cellspacing="0"></table>
|
<table id="delivery-note-table" cellspacing="0"></table>
|
||||||
|
|
||||||
|
<div id="table-totals" cellspacing="0"></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user