From 8626f5ef9da588eb8265d8674f0056c538553ba0 Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Wed, 30 Mar 2022 10:51:45 -0700 Subject: [PATCH] Fix missing table header --- src/Nri/Ui/Table/V5.elm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Nri/Ui/Table/V5.elm b/src/Nri/Ui/Table/V5.elm index a5170c1a..266cccc0 100644 --- a/src/Nri/Ui/Table/V5.elm +++ b/src/Nri/Ui/Table/V5.elm @@ -18,6 +18,7 @@ module Nri.Ui.Table.V5 exposing -} +import Accessibility.Styled.Style as Style import Css exposing (..) import Css.Animations import Html.Styled as Html exposing (..) @@ -141,7 +142,8 @@ stylesLoadingColumn rowIndex colIndex width = tableWithoutHeader : List Style -> List (Column data msg) -> (a -> Html msg) -> List a -> Html msg tableWithoutHeader styles columns toRow data = table styles - [ tableBody toRow data + [ thead [] [ tr Style.invisible (List.map tableRowHeader columns) ] + , tableBody toRow data ]