From 1a3df7039f753d12fb145fe8092c3b00816453cd Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 17 Jun 2019 16:15:34 +0100 Subject: [PATCH] Fix rendering of scrollable tables The scrollable tables code styles some of the cells in the target table by looking for the `table-field-center-aligned` class. This class was renamed in 0512f40ad3d7fdb4d285a4f7e44659cca6f3e09f This commit updates the scrollable tables code to refer to the new classname, which means that things should line up properly when drawing the table. --- app/assets/stylesheets/components/fullscreen-table.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/components/fullscreen-table.scss b/app/assets/stylesheets/components/fullscreen-table.scss index 0f387c43c..08da3dfad 100644 --- a/app/assets/stylesheets/components/fullscreen-table.scss +++ b/app/assets/stylesheets/components/fullscreen-table.scss @@ -25,7 +25,7 @@ th, .table-field-error-label, - .table-field-center-aligned { + .table-field-left-aligned { white-space: nowrap; } @@ -62,7 +62,7 @@ display: none; } - .table-field-center-aligned { + .table-field-left-aligned { position: relative; z-index: 150; background: $white; @@ -100,7 +100,7 @@ visibility: hidden; } - .table-field-center-aligned { + .table-field-left-aligned { width: 0; position: relative; z-index: 100;