Skip to content

Commit a64d830

Browse files
committed
button styles are fixed
1 parent 552246c commit a64d830

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/buttons/GithubButtton.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import PropTypes from "prop-types"
22
import React from "react"
3-
import Github from "../../assets/github.svg"
3+
import Github from "../../assets/github_black.svg"
44
const GithubButton = ({ children, className, onClick }) => (
55
<button className={`${className} cursor-pointer `} onClick={onClick}>
66
<span className="flex flex-row">
7-
{children} <img src={Github} alt="framework" className="w-6" />
7+
{children} <img src={Github} alt="framework" className="w-6 ml-2" />
88
</span>
99
</button>
1010
)
@@ -16,6 +16,6 @@ GithubButton.propTypes = {
1616
}
1717

1818
GithubButton.defaultProps = {
19-
className: `font-display rounded-px px-8 border border-black border-3`,
19+
className: `font-display rounded-px px-6 py-2 border border-black border-3`,
2020
}
2121
export default GithubButton

0 commit comments

Comments
 (0)