From 48707b23646c0a23304182c2b0517089269e92d3 Mon Sep 17 00:00:00 2001
From: Chris Lawton <chris.lawton@torchbox.com>
Date: Mon, 20 Aug 2018 10:10:04 +0100
Subject: [PATCH] make no reviews full width using colspan so it doesn't affect
 any rows underneath

---
 opentech/apply/funds/templates/funds/includes/review_table.html | 2 +-
 .../static_src/src/sass/apply/components/_reviews-sidebar.scss  | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/opentech/apply/funds/templates/funds/includes/review_table.html b/opentech/apply/funds/templates/funds/includes/review_table.html
index b628ecfe3..795f47c1a 100644
--- a/opentech/apply/funds/templates/funds/includes/review_table.html
+++ b/opentech/apply/funds/templates/funds/includes/review_table.html
@@ -14,7 +14,7 @@
             {% include 'funds/includes/review_table_row.html' with reviews=object.staff_not_reviewed missing=True %}
         {% endif %}
     {% else %}
-        <tr><td class="reviews-sidebar__no-reviews">No reviews yet</td></tr>
+        <tr><td colspan="4" class="reviews-sidebar__no-reviews">No reviews yet</td></tr>
     {% endif %}
 
     {% if object.stage.has_external_review %}
diff --git a/opentech/static_src/src/sass/apply/components/_reviews-sidebar.scss b/opentech/static_src/src/sass/apply/components/_reviews-sidebar.scss
index a311acf0f..0b19921b1 100644
--- a/opentech/static_src/src/sass/apply/components/_reviews-sidebar.scss
+++ b/opentech/static_src/src/sass/apply/components/_reviews-sidebar.scss
@@ -63,7 +63,6 @@
     }
 
     &__no-reviews {
-        width: 100%;
         color: $color--mid-grey;
     }
 }
-- 
GitLab