Skip to content

Commit bfc75af

Browse files
committed
use margin on inner card components instead
1 parent 3eaf20d commit bfc75af

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/components/payment/PaymentNotifications/PaymentNotifications.styles.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,14 @@ export const Root = styled(BaseCard)`
201201
.ant-space.ant-space-horizontal {
202202
width: 100%;
203203
}
204+
margin-left: 5%;
205+
margin-right: 5%;
204206
@media only screen and ${media.lg} {
205-
padding-left: 30%;
206-
}
207-
@media only screen and ${media.lg} {
208-
padding-left: 20%;
207+
> .ant-card-head,
208+
> .ant-card-body {
209+
margin-left: 15%;
210+
margin-right: 15%;
211+
}
209212
}
210213
`;
211214
export const TransactionWrapper = styled.div`

0 commit comments

Comments
 (0)