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 = ({
|
const ChartTooltip = ({
|
||||||
active,
|
active,
|
||||||
payload,
|
payload,
|
||||||
label,
|
|
||||||
groupBy,
|
groupBy,
|
||||||
}: CustomTooltipProps & {
|
}: CustomTooltipProps & {
|
||||||
rawDate: string
|
rawDate: string
|
||||||
@@ -79,7 +78,6 @@ const ChartTooltip = ({
|
|||||||
}) => {
|
}) => {
|
||||||
if (active && payload) {
|
if (active && payload) {
|
||||||
const rawDate = payload[0]?.payload?.rawDate
|
const rawDate = payload[0]?.payload?.rawDate
|
||||||
console.log(payload, rawDate)
|
|
||||||
const filteredPayload = payload.filter((item: any) => item.type !== 'none')
|
const filteredPayload = payload.filter((item: any) => item.type !== 'none')
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -8,3 +8,7 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 100 900;
|
font-weight: 100 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
scrollbar-gutter: stable;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user