Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit 2ce3a5d

Browse files
committed
reduce the height self hosted pricing plans.
1 parent 6afdefd commit 2ce3a5d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/PricingBox.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const StyledPricingBox = styled.div<StyledPricingBoxProps>`
1919
margin: 2rem 1rem;
2020
padding: 3rem 2.8rem;
2121
font-size: 95%;
22-
min-height: ${({ isTitleOutside }) => isTitleOutside ? '35rem' : '48rem'};
22+
min-height: ${({ isTitleOutside }) => isTitleOutside ? '33rem' : '48rem'};
2323
min-width: 20rem;
2424
max-width: 26rem;
2525
width: 25%;
@@ -46,7 +46,7 @@ const StyledPricingBox = styled.div<StyledPricingBoxProps>`
4646
min-height: 50rem;
4747
padding: 3rem 2rem;
4848
margin-bottom: 5rem;
49-
min-height: ${({ isTitleOutside }) => isTitleOutside ? '38rem' : '50rem'};
49+
min-height: ${({ isTitleOutside }) => isTitleOutside ? '33rem' : '50rem'};
5050
}
5151
5252
@media(max-width: 1096px) {
@@ -58,7 +58,7 @@ const StyledPricingBox = styled.div<StyledPricingBoxProps>`
5858
}
5959
6060
@media(max-width: ${sizes.breakpoints.md}) {
61-
min-height: ${({ isTitleOutside }) => isTitleOutside ? '35rem' : '45rem'};
61+
min-height: ${({ isTitleOutside }) => isTitleOutside ? '33rem' : '42rem'};
6262
min-width: 30rem;
6363
padding: 2rem 3rem;
6464
}

src/layouts/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class IndexLayout extends React.Component<{ title?: string, canonical?: string,
9696
backgroundColor: colors.white,
9797
color: colors.text,
9898
borderTop: borders.light,
99+
zIndex: '1000000000',
99100
}}
100101
contentStyle={{
101102
backgroundColor: 'transparent',

0 commit comments

Comments
 (0)