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

Commit 0f672e7

Browse files
committed
[pricing]: make the z-index for the buttons lower than that of the cookie consent.
Fixes gitpod-io/website#818
1 parent 86805b6 commit 0f672e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/PricingBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const StyledPricingBox = styled.div<StyledPricingBoxProps>`
155155
flex-direction: column;
156156
justify-content: space-between;
157157
align-items: center;
158-
z-index: 1999999999;
158+
z-index: 9;
159159
160160
@media(min-width: calc(${sizes.breakpoints.sm} + 1px)) {
161161
position: absolute;

src/layouts/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class IndexLayout extends React.Component<{ title?: string; canonical?: string;
9999
backgroundColor: colors.white,
100100
color: colors.text,
101101
borderTop: borders.light,
102-
zIndex: '1000000000'
102+
zIndex: '2000000000'
103103
}}
104104
contentStyle={{
105105
backgroundColor: 'transparent',

0 commit comments

Comments
 (0)