Skip to content

Commit

Permalink
fix: try a demo button spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
santosfrancisco committed Apr 14, 2024
1 parent 0e398d2 commit 48189d6
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Layout from "@theme/Layout";
import HomepageFeatures from "@site/src/components/HomepageFeatures";
import Heading from "@theme/Heading";
import styled from "styled-components";
import { Container } from "@site/lib";
import { Container, config } from "@site/lib";

type HomepageHeaderProps = {
className: string;
Expand Down Expand Up @@ -51,15 +51,19 @@ export default styled(function Home(props): JSX.Element {
overflow: hidden;
}
@media screen and (max-width: 996px) {
.heroBanner {
padding: 2rem;
}
}
.buttons {
display: flex;
align-items: center;
gap: 16px;
justify-content: center;
.button + .button {
margin-left: 16px;
}
}
${(props) => config(props).media["sm"]`
.buttons {
justify-content: start;
}
`}
`;

0 comments on commit 48189d6

Please sign in to comment.