From 5340c4c2e8608cff0938901ad6bea1d7053df360 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 29 Apr 2019 16:15:55 +0100 Subject: [PATCH] Prefer CSS-native first child selector This fits nicer with the block below and with the CSS further down that applies certain styles for the first cell using `:first-child` too. --- 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 0af72095f..d210d11d8 100644 --- a/app/assets/stylesheets/components/table.scss +++ b/app/assets/stylesheets/components/table.scss @@ -59,7 +59,7 @@ th { - &.table-field-heading-first { + &:first-child { width: 35%; // 33.33% + fudge }