Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
resize summary card
Browse files Browse the repository at this point in the history
  • Loading branch information
jtan381 committed Oct 16, 2020
1 parent 15a8811 commit 0aaf586
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/PieChartBalancev2.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export default function PieChartBalancev2(props) {
labelStyle={{
fill: "#000",
}}
viewBoxSize={[160, 160]}
center={[80, 80]}
viewBoxSize={[180, 180]}
center={[90, 90]}
>
<PieChart
style={{
Expand Down
9 changes: 2 additions & 7 deletions src/views/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Wrapper = styled.div`
justify-items: center;
align-items: center;
grid-template-columns: 50% 50%;
@media (max-width: 991px) {
@media (max-width: 1200px) {
grid-template-columns: auto;
}
`;
Expand All @@ -41,19 +41,14 @@ const SummaryWrapper = styled.div`
background: #fff;
border-radius: 40px;
margin: 30px 40px;
// margin-top: 30px;
padding: 35px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
@media (max-width: 991px) {
grid-template-columns: auto;
border-radius: 40px;
}
`;

const HeaderImage = styled.img`
height: "120px";
margin: "2rem auto";
@media (max-width: 991px) {
@media (max-width: 1200px) {
display: none;
}
`;
Expand Down

0 comments on commit 0aaf586

Please sign in to comment.