From 4bfe52bbcbb71df0628726cc2201093ebefabbb5 Mon Sep 17 00:00:00 2001 From: Dennis Brown Date: Wed, 1 Sep 2021 14:24:13 -0500 Subject: [PATCH 1/5] add a margin for any leading twitter links --- src/components/TwitterFollowButton.js | 4 +++- src/components/TwitterFollowButton.scss | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/components/TwitterFollowButton.scss diff --git a/src/components/TwitterFollowButton.js b/src/components/TwitterFollowButton.js index 19c78856..f5179955 100644 --- a/src/components/TwitterFollowButton.js +++ b/src/components/TwitterFollowButton.js @@ -1,3 +1,5 @@ +import styles from "./TwitterFollowButton.scss"; + import React from 'react' import PropTypes from 'prop-types' @@ -13,7 +15,7 @@ const TwitterFollowButton = ({ username, showUsername, showCount, large }) => { props[ 'data-size' ] = 'large' } return ( - + Follow @{username} ) diff --git a/src/components/TwitterFollowButton.scss b/src/components/TwitterFollowButton.scss new file mode 100644 index 00000000..b2362db7 --- /dev/null +++ b/src/components/TwitterFollowButton.scss @@ -0,0 +1,7 @@ +@import "./constants"; + +.twitterFollowButton { + & a:not(:last_child) { + margin-right: 10px; + } +} \ No newline at end of file From 7574bfa38710c936a9c229f7c29fbb7e144c4a7f Mon Sep 17 00:00:00 2001 From: Dennis Brown Date: Thu, 2 Sep 2021 12:14:53 -0500 Subject: [PATCH 2/5] update the margin for github button offset --- src/components/App.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.scss b/src/components/App.scss index a3b2c922..91bbb0cc 100644 --- a/src/components/App.scss +++ b/src/components/App.scss @@ -170,7 +170,7 @@ code { .github { display: inline-block; padding: 10px; - margin: 10px; + margin: 42px 10px 10px; border-radius: 5px; border: 1px solid #ccc; background: white; From ece428640fc0985775a0dade63a27371b5fdde9f Mon Sep 17 00:00:00 2001 From: Dennis Brown Date: Thu, 2 Sep 2021 12:15:41 -0500 Subject: [PATCH 3/5] add previous button class & apply to old templates --- src/components/TwitterFollowButton.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/TwitterFollowButton.scss b/src/components/TwitterFollowButton.scss index b2362db7..6f57b805 100644 --- a/src/components/TwitterFollowButton.scss +++ b/src/components/TwitterFollowButton.scss @@ -1,5 +1,6 @@ @import "./constants"; +.twitter-follow-button, .twitterFollowButton { & a:not(:last_child) { margin-right: 10px; From 195ed7c2b27ae91f80c7906c61bf63b39c5b25f1 Mon Sep 17 00:00:00 2001 From: Dennis Brown Date: Thu, 2 Sep 2021 12:25:59 -0500 Subject: [PATCH 4/5] update repo links to redux-form user --- src/components/App.js | 4 ++-- src/components/Home.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/App.js b/src/components/App.js index df435f23..b0415f4d 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -28,7 +28,7 @@ const App = ({ children, path, version, breadcrumbs }) => { @@ -60,7 +60,7 @@ const App = ({ children, path, version, breadcrumbs }) => { diff --git a/src/components/Home.js b/src/components/Home.js index 68ff9593..f282e56a 100644 --- a/src/components/Home.js +++ b/src/components/Home.js @@ -34,7 +34,7 @@ const Home = ({ version }) => { . { large /> Date: Thu, 2 Sep 2021 14:34:36 -0500 Subject: [PATCH 5/5] update the GH top margin for earlier versions --- src/components/App.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.scss b/src/components/App.scss index 91bbb0cc..defa2c07 100644 --- a/src/components/App.scss +++ b/src/components/App.scss @@ -170,7 +170,7 @@ code { .github { display: inline-block; padding: 10px; - margin: 42px 10px 10px; + margin: 45px 10px 10px; border-radius: 5px; border: 1px solid #ccc; background: white;