From c24120393f14c523ebfcf4f12508ab63f7f73715 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 15 Feb 2017 01:13:46 -0600 Subject: [PATCH] Tweak styles for 'sources' grid on products view page --- tailbone/static/css/newgrids.css | 9 +++++++++ tailbone/templates/products/view.mako | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/tailbone/static/css/newgrids.css b/tailbone/static/css/newgrids.css index 7b692566..22c971a9 100644 --- a/tailbone/static/css/newgrids.css +++ b/tailbone/static/css/newgrids.css @@ -117,6 +117,10 @@ margin-top: 0.3em; } +.newgrid.no-border { + margin-top: 0; +} + .newgrid table { background-color: white; border: 1px solid black; @@ -134,6 +138,11 @@ width: 50%; } +.newgrid.no-border table { + border-left: none; + border-top: none; +} + /****************************** * thead diff --git a/tailbone/templates/products/view.mako b/tailbone/templates/products/view.mako index 6758d7a7..a78acbcf 100644 --- a/tailbone/templates/products/view.mako +++ b/tailbone/templates/products/view.mako @@ -147,7 +147,7 @@

Vendor Sources

-
+
@@ -158,8 +158,8 @@ - % for i, cost in enumerate(instance.costs, 1): - + % for cost in instance.costs: +
Pref.Unit Cost
${'X' if cost.preference == 1 else ''} ${cost.vendor} ${cost.code}