Skip to content

Commit

Permalink
fix: table header
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoDex committed Feb 23, 2024
1 parent 717eb6c commit a2cc62d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spark-frontend/src/components/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ const Root = styled.div<{ hovered?: boolean; fitContent?: boolean }>`
table {
width: 100%;
border-spacing: 0;
position: relative;
thead {
position: sticky;
top: 0;
background: ${({ theme }) => theme.colors.bgPrimary};
}
tr {
color: ${({ theme }) => `${theme.colors.textPrimary}`};
Expand Down

0 comments on commit a2cc62d

Please sign in to comment.