mirror of
https://github.com/ershisan99/vacancies-trends-front.git
synced 2025-12-16 12:34:06 +00:00
add scrollbar gutter
This commit is contained in:
@@ -71,7 +71,6 @@ export const ChartTooltipRow = ({ value, name, color }: ChartTooltipRowProps) =>
|
||||
const ChartTooltip = ({
|
||||
active,
|
||||
payload,
|
||||
label,
|
||||
groupBy,
|
||||
}: CustomTooltipProps & {
|
||||
rawDate: string
|
||||
@@ -79,7 +78,6 @@ const ChartTooltip = ({
|
||||
}) => {
|
||||
if (active && payload) {
|
||||
const rawDate = payload[0]?.payload?.rawDate
|
||||
console.log(payload, rawDate)
|
||||
const filteredPayload = payload.filter((item: any) => item.type !== 'none')
|
||||
|
||||
return (
|
||||
|
||||
@@ -8,3 +8,7 @@
|
||||
font-style: normal;
|
||||
font-weight: 100 900;
|
||||
}
|
||||
|
||||
:root {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user