← Back to task

Commit 19f39b3a

commit 19f39b3a03e0f18d13052c511d744e9006b22153
Author: Ben Sima <ben@bensima.com>
Date:   Thu Nov 27 18:40:33 2025

    Remove redundant borders, consolidate to margin OR padding only
    
    All tests pass. Summary of changes made:
    
    1. **Removed redundant `borderBottom` from `.detail-row`** - replaced
    wi 2. **Removed redundant `borderBottom` from `.stats-row`** - replaced
    wit 3. **Removed redundant `borderBottom` from `.metric-row`**
    - replaced wi 4. **Removed corresponding dark mode border color
    overrides** for the ab
    
    Task-Id: t-156.4

diff --git a/Omni/Jr/Web/Style.hs b/Omni/Jr/Web/Style.hs
index 51c3fd5d..3c69030b 100644
--- a/Omni/Jr/Web/Style.hs
+++ b/Omni/Jr/Web/Style.hs
@@ -118,8 +118,7 @@ layoutStyles = do
     display flex
     flexWrap Flexbox.wrap
     padding (px 6) (px 0) (px 6) (px 0)
-    borderBottom (px 1) solid "#e5e7eb"
-  ".detail-row" # lastChild ? borderBottom (px 0) none transparent
+    marginBottom (px 4)
   ".detail-label" ? do
     fontWeight (weight 600)
     width (px 100)
@@ -413,8 +412,7 @@ cardStyles = do
     alignItems center
     Stylesheet.key "gap" ("8px" :: Text)
     padding (px 4) (px 0) (px 4) (px 0)
-    borderBottom (px 1) solid "#e5e7eb"
-  ".stats-row" # lastChild ? borderBottom (px 0) none transparent
+    marginBottom (px 2)
   ".stats-label" ? do
     minWidth (px 80)
     fontWeight (weight 500)
@@ -658,8 +656,7 @@ executionDetailsStyles = do
     display flex
     flexWrap Flexbox.wrap
     padding (px 4) (px 0) (px 4) (px 0)
-    borderBottom (px 1) solid "#e5e7eb"
-  ".metric-row" # lastChild ? borderBottom (px 0) none transparent
+    marginBottom (px 2)
   ".metric-label" ? do
     fontWeight (weight 600)
     width (px 120)
@@ -1036,7 +1033,7 @@ darkModeStyles =
     ".nav-brand" ? color "#f3f4f6"
     "h2" <> "h3" ? color "#d1d5db"
     a ? color "#60a5fa"
-    ".detail-row" ? borderBottomColor "#374151"
+
     ".detail-label"
       <> ".priority"
       <> ".dep-type"
@@ -1078,7 +1075,7 @@ darkModeStyles =
     ".stats-section" <> ".summary-section" ? do
       backgroundColor "#1f2937"
       borderColor "#374151"
-    ".stats-row" ? borderBottomColor "#374151"
+
     ".progress-bar" ? backgroundColor "#374151"
     ".progress-fill" ? backgroundColor "#60a5fa"
     ".multi-progress-bar" ? backgroundColor "#374151"
@@ -1097,7 +1094,7 @@ darkModeStyles =
     ".execution-section" ? do
       backgroundColor "#1f2937"
       borderColor "#374151"
-    ".metric-row" ? borderBottomColor "#374151"
+
     ".metric-label" ? color "#9ca3af"
     ".metric-value" ? color "#d1d5db"
     ".amp-link" ? color "#60a5fa"