patx/projectpay

Fix invoice line item section rounding

Commit bdf283f · patx · 2026-06-30T20:22:44-04:00

Changeset
bdf283fa491b3aab762da5470d9e7894378a013f
Parents
3df6a97a0a2ae4df1e8779b746926d73c107576c

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/templates/_invoice_line_items.html b/templates/_invoice_line_items.html
index 7e761f1..bbeb782 100644
--- a/templates/_invoice_line_items.html
+++ b/templates/_invoice_line_items.html
@@ -1,4 +1,4 @@
-<section class="line-items-section" style="background-color:white; border-radius: 8px;">
+<section class="line-items-section">
   <div class="invoice-line-list">
     {% for item in project.line_items %}
       <article class="invoice-line-card">
diff --git a/templates/base.html b/templates/base.html
index f003587..e52a317 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -160,7 +160,12 @@
         margin-top: 12px;
       }
       .payment-card-reference { overflow-wrap: anywhere; }
-      .line-items-section { margin-bottom: 16px; border-radius: 8px; }
+      .line-items-section {
+        background: #fff;
+        border-radius: 8px;
+        margin-bottom: 16px;
+        overflow: hidden;
+      }
       .invoice-line-list {
         display: grid;
         gap: 10px;