Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Show docs on navbar on mobile view #118

Merged
merged 2 commits into from
Jun 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/NavBar/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
display: flex;
align-items: center;
padding: 8px 16px;
justify-content: center;

@media (--md-scr) {
padding: 8px 32px;
Expand Down
8 changes: 7 additions & 1 deletion src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ const NavBar: React.FC = () => {
by <span>iterative.ai</span>
yathomasi marked this conversation as resolved.
Show resolved Hide resolved
</SmartLink>
<div className={styles.nav__links}>
<SmartLink href="/doc" className={styles.nav__link}>
<SmartLink
href="/doc"
className={styles.nav__link}
style={{
display: 'flex'
}}
>
Docs
</SmartLink>
<SmartLink
Expand Down