Skip to content

Commit

Permalink
Merge pull request #34 from HotSushi/docsite
Browse files Browse the repository at this point in the history
Improve mobile UI minimally
  • Loading branch information
HotSushi committed Feb 28, 2024
2 parents 0bc09b6 + f2fc63d commit 4e4a7d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import DocusaurusImageUrl from '@site/static/ui/openhouse_logo.png';
import OpenHouseImageUrl from '@site/static/ui/openhouse_logo.png';

import Heading from '@theme/Heading';
import styles from './index.module.css';
Expand All @@ -26,7 +26,7 @@ function HomepageHeader() {
</Link>
</div>
<div class="col col--4 col--offset-2">
<img src={DocusaurusImageUrl} />
<img className={styles.heroBannerImage} src={OpenHouseImageUrl} />
</div>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
@media screen and (max-width: 996px) {
.heroBanner {
padding: 2rem;
text-align: center;
}

.heroBannerImage {
padding: 3rem;
}
}

Expand Down

0 comments on commit 4e4a7d0

Please sign in to comment.