From 9c83d559f3409e8dd2c03d80ba44c010cfe039b2 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 13 Jul 2016 16:56:28 +0100 Subject: [PATCH] Fix wonky tables on dashboard and activity page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tables with a `layout` of `fixed` determine column widths from the width of the column headings. We weren’t setting the width of the first column heading, so our tables were getting out of alignment. --- app/assets/stylesheets/components/table.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/components/table.scss b/app/assets/stylesheets/components/table.scss index 4342891e0..233e611ee 100644 --- a/app/assets/stylesheets/components/table.scss +++ b/app/assets/stylesheets/components/table.scss @@ -21,6 +21,10 @@ } } + .table-field-heading-first { + width: 52.5% + } + .table-row { th { display: table-cell;