Skip to content

Commit d20053d

Browse files
docs: fix home header alignment
1 parent fcf7e76 commit d20053d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/src/pages/index.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
flex-direction: column;
1313
}
1414

15+
.heroContainer {
16+
display: flex;
17+
flex-direction: column;
18+
align-items: center;
19+
}
20+
1521
.heroAds {
1622
padding-top: 2rem;
1723
min-height: 196px;

docs/src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function HomepageHeader() {
1414
const { siteConfig } = useDocusaurusContext()
1515
return (
1616
<header className={clsx('hero hero--primary', styles.heroBanner)}>
17-
<div className="container">
17+
<div className={clsx('container', styles.heroContainer)}>
1818
<h1 className="hero__title">{siteConfig.title}</h1>
1919
<p className="hero__logo">
2020
<img src="img/logo.svg" alt="Happy face with a tooltip saying 'Hello I'm a tooltip'" />

0 commit comments

Comments
 (0)