Commit 3c3158f4 authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

fix: update landing page paddings (#5630)

* fix: update landing page paddings

* button gap
parent f933e538
...@@ -11,8 +11,6 @@ import styled from 'styled-components/macro' ...@@ -11,8 +11,6 @@ import styled from 'styled-components/macro'
import { BREAKPOINTS } from 'theme' import { BREAKPOINTS } from 'theme'
import { Z_INDEX } from 'theme/zIndex' import { Z_INDEX } from 'theme/zIndex'
const PADDING_BOTTOM = 64
const PageWrapper = styled.div<{ isDarkMode: boolean }>` const PageWrapper = styled.div<{ isDarkMode: boolean }>`
height: 100%; height: 100%;
width: 100%; width: 100%;
...@@ -26,7 +24,7 @@ const PageWrapper = styled.div<{ isDarkMode: boolean }>` ...@@ -26,7 +24,7 @@ const PageWrapper = styled.div<{ isDarkMode: boolean }>`
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: end; justify-content: end;
padding-bottom: 24px 24px ${PADDING_BOTTOM}px; padding: 64px 24px;
align-items: center; align-items: center;
transition: 250ms ease opacity; transition: 250ms ease opacity;
pointer-events: none; pointer-events: none;
...@@ -137,13 +135,17 @@ const TitleWrapper = styled.span` ...@@ -137,13 +135,17 @@ const TitleWrapper = styled.span`
const ActionsWrapper = styled.span` const ActionsWrapper = styled.span`
display: flex; display: flex;
justify-content: center; justify-content: center;
gap: 24px; gap: 12px;
width: 100%; width: 100%;
& > * { & > * {
max-width: 288px; max-width: 288px;
flex: 1; flex: 1;
} }
@media screen and (min-width: ${BREAKPOINTS.sm}px) {
gap: 24px;
}
` `
export default function Landing() { export default function Landing() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment