Merge pull request #84 from bigcapitalhq/BIG-406-accounts-chart-lags-scroll-down

fix(webapp): accounts chart lags scroll down
This commit is contained in:
Ahmed Bouhuolia
2023-02-14 23:25:43 +02:00
committed by GitHub
2 changed files with 10 additions and 8 deletions

View File

@@ -72,6 +72,7 @@ export default function TableCell({ cell, row, index }) {
[`td-${cell.column.id}`]: cell.column.id, [`td-${cell.column.id}`]: cell.column.id,
[`td-${cellType}-type`]: !!cellType, [`td-${cellType}-type`]: !!cellType,
}), }),
tabindex: 0,
onClick: handleCellClick, onClick: handleCellClick,
})} })}
> >

View File

@@ -10,7 +10,7 @@
display: block; display: block;
.thead .thead-inner, .thead .thead-inner,
.tbody .tbody-inner{ .tbody .tbody-inner {
min-width: fit-content; min-width: fit-content;
} }
@@ -25,7 +25,7 @@
font-weight: 400; font-weight: 400;
border-bottom: 1px solid #d2dde2; border-bottom: 1px solid #d2dde2;
>div { > div {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -208,6 +208,11 @@
width: 100%; width: 100%;
} }
} }
&:focus {
outline: rgba(0, 82, 204, 0.6) auto 1px;
outline-offset: 1px;
}
} }
.tr:hover .td { .tr:hover .td {
@@ -357,13 +362,9 @@
position: sticky; position: sticky;
} }
[data-sticky-last-left-td] { [data-sticky-last-left-td] {}
} [data-sticky-first-right-td] {}
[data-sticky-first-right-td] {
}
} }
&.has-virtualized-rows { &.has-virtualized-rows {