From 32b34ddb06ec3baf33c8512a124999b540e767dc Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 1 Sep 2016 16:13:51 +0100 Subject: [PATCH] Fix top keyline on tables with hidden col headings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The way that we collapse column headings so that they don’t take up any vertical space is by setting their `font-size` to zero. However this seems to take them out of the flow of the document, so their top border also disappears. This commit sets the `font-size` to the smallest non-zero value to avoid this. --- app/assets/stylesheets/components/table.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/components/table.scss b/app/assets/stylesheets/components/table.scss index 4400f7457..1d6c3bbeb 100644 --- a/app/assets/stylesheets/components/table.scss +++ b/app/assets/stylesheets/components/table.scss @@ -20,7 +20,7 @@ .table-field-headings { th { - font-size: 0; + font-size: 1px; } }