Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mobile styles and move to pnpm. #54

Merged
merged 1 commit into from
Nov 13, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions components/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import styles from './nav.module.css'

export default function Nav() {
return (
<ul className={styles["nav-ul"]}>
<Item href="/newest">new</Item>
<Item href="/show">show</Item>
<Item href="/ask">ask</Item>
<Item href="/jobs">jobs</Item>
<Item href="/submit">submit</Item>
<ul className={styles['nav-ul']}>
<Item href="/">new</Item>
<Item href="/">show</Item>
<Item href="/">ask</Item>
<Item href="/">jobs</Item>
<Item href="/">submit</Item>
</ul>
)
}
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@
"next": "^13.0.3",
"react": "^18.3.0-next",
"react-dom": "^18.3.0-next"
},
"prettier": {
"arrowParens": "always",
"singleQuote": true,
"semi": false,
"tabWidth": 2,
"trailingComma": "none"
}
}
286 changes: 286 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions styles/RootLayout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
@media (max-width: 750px) {
.main {
padding: 0;
width: 100%;
}
}
2 changes: 1 addition & 1 deletion styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body {
justify-content: center;
height: 100%;
margin: 0;
padding: 20px 20px 80px;
padding: 0;
box-sizing: border-box;
color: #333;
-webkit-font-smoothing: antialiased;
Expand Down