fix(chart table in dashboard): improve screen reading of table (#26453)

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
Nico Carlier
2024-01-30 08:05:35 +13:00
committed by GitHub
parent be7c9490a1
commit 71a950fc80
3 changed files with 17 additions and 12 deletions

View File

@@ -32,10 +32,13 @@ export default styled.div`
td {
min-width: 4.3em;
}
thead > tr > th {
position: sticky;
top: -1px;
padding-right: 0;
position: relative;
z-index: 100;
border-bottom: ${theme.gridUnit / 2}px solid
${theme.colors.grayscale.light2};
background: ${theme.colors.grayscale.light5};
text-align: left;
}