Skip to content

Commit

Permalink
Fix button wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Woods committed Sep 15, 2023
1 parent 7437587 commit 76f53aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 1 addition & 6 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import * as React from "react";
import Header from "../components/Header";
import Footer from "../components/Footer";

const centerButtonStyles = {
marginTop: "calc(3rem + 26px)",
marginBottom: 26,
};

const IndexPage = () => {
return (
<>
Expand All @@ -25,7 +20,7 @@ const IndexPage = () => {
Learn more →
</a>
</p>
<div style={centerButtonStyles}>
<div>
<a className="button" href="/attend">
Information for attendees
</a>
Expand Down
2 changes: 2 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ hr {
font-weight: 200;
font-family: "Anaheim", sans-serif;
text-decoration: none;
display: block;
max-width: max-content;
}

footer {
Expand Down

0 comments on commit 76f53aa

Please sign in to comment.