Skip to content

Commit 34de2d7

Browse files
authored
Refine certificationHero layout: add gap, remove redundant textAlign and marginBottom
Agent-Logs-Url: https://github.com/recodehive/recode-website/sessions/e8a1aa1c-63a7-43f3-bf81-35c631082398
1 parent 74f647c commit 34de2d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/badges/github-badges.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,14 +1085,15 @@ const GithubBadgesContent = (): React.ReactElement => {
10851085
display: "flex",
10861086
flexDirection: "column",
10871087
alignItems: "center",
1088+
gap: "24px",
10881089
borderRadius: "24px",
10891090
padding: "32px",
10901091
width: "100%",
10911092
maxWidth: "900px",
10921093
margin: "0 auto",
10931094
}}
10941095
>
1095-
<div style={{ textAlign: "center", marginBottom: "24px", width: "100%" }}>
1096+
<div style={{ textAlign: "center", width: "100%" }}>
10961097
<h2 className={styles.subheading}>🛈 More Information 🛈</h2>
10971098
<p className={styles.paragraph}>
10981099
You can find more information about GitHub Badges under this{" "}
@@ -1121,7 +1122,6 @@ const GithubBadgesContent = (): React.ReactElement => {
11211122
style={{
11221123
fontSize: "1.2rem",
11231124
margin: "16px 0",
1124-
textAlign: "center",
11251125
}}
11261126
>
11271127
Getting GitHub certified is a strong endorsement of your skills

0 commit comments

Comments
 (0)