diff --git a/src/components/ChartSection/ChartSection-styled.jsx b/src/components/ChartSection/ChartSection-styled.jsx index 99b45f8..c2732af 100644 --- a/src/components/ChartSection/ChartSection-styled.jsx +++ b/src/components/ChartSection/ChartSection-styled.jsx @@ -15,6 +15,9 @@ export const Subtitle = styled.h3` `; export const ChartWrap = styled.div` + max-width: 1200px; + margin-left: auto; + margin-right: auto; width: 100%; height: 50px; display: flex; @@ -44,6 +47,6 @@ export const ChartElement = styled.div` position: absolute; top: -24px; - left: 150px; + right: 24px; } `; diff --git a/src/components/ChartSection/ChartSection.jsx b/src/components/ChartSection/ChartSection.jsx index 83eeca2..883a856 100644 --- a/src/components/ChartSection/ChartSection.jsx +++ b/src/components/ChartSection/ChartSection.jsx @@ -57,7 +57,7 @@ export const ChartSection = ({ membersArray }) => { type={"backhand"} /> - За містом: + За рідним містом: