mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
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:
@@ -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,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user