Skip to content

Commit

Permalink
feat: integrate the finance widget (#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum authored Nov 27, 2023
1 parent e3541ca commit 24406a9
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 548 deletions.
66 changes: 33 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"dependencies": {
"@apollo/client": "^3.8.1",
"@bosonprotocol/chat-sdk": "^1.3.1-alpha.9",
"@bosonprotocol/react-kit": "^0.22.0-alpha.12",
"@bosonprotocol/react-kit": "^0.22.0-alpha.16",
"@davatar/react": "^1.10.4",
"@ethersproject/address": "^5.6.1",
"@ethersproject/units": "^5.6.1",
Expand Down
7 changes: 5 additions & 2 deletions src/components/seller/SellerWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import styled from "styled-components";

import { colors } from "../../lib/styles/colors";
import Typography from "../ui/Typography";

const margin = "5.5rem";
const SellerMain = styled.main`
padding: 1.375rem 2.5rem 2.75rem 2.5rem;
background: ${colors.lightGrey};
min-height: calc(100vh - 5.5rem);
min-height: calc(100vh - ${margin});
overflow: hidden;
`;
const SellerTitle = styled(Typography)`
Expand All @@ -18,6 +18,9 @@ const SellerInner = styled.div`
box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 2%), 0px 0px 10px 0px rgb(0 0 0 / 2%),
0px 0px 15px 0px rgb(0 0 0 / 5%);
overflow: auto;
height: calc(100% - ${margin});
margin-bottom: ${margin};
overflow-y: hidden;
`;

interface Props {
Expand Down
Loading

0 comments on commit 24406a9

Please sign in to comment.