mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-19 03:31:32 +03:00
Fix missing table header
This commit is contained in:
parent
d091c36e2a
commit
8626f5ef9d
@ -18,6 +18,7 @@ module Nri.Ui.Table.V5 exposing
|
|||||||
|
|
||||||
-}
|
-}
|
||||||
|
|
||||||
|
import Accessibility.Styled.Style as Style
|
||||||
import Css exposing (..)
|
import Css exposing (..)
|
||||||
import Css.Animations
|
import Css.Animations
|
||||||
import Html.Styled as Html exposing (..)
|
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 : List Style -> List (Column data msg) -> (a -> Html msg) -> List a -> Html msg
|
||||||
tableWithoutHeader styles columns toRow data =
|
tableWithoutHeader styles columns toRow data =
|
||||||
table styles
|
table styles
|
||||||
[ tableBody toRow data
|
[ thead [] [ tr Style.invisible (List.map tableRowHeader columns) ]
|
||||||
|
, tableBody toRow data
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user