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

トップページのレイアウトを微調整し、その他不具合に対応 #92

Merged
merged 4 commits into from
Feb 19, 2024
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
3 changes: 1 addition & 2 deletions app/routes/app/route.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
@media (max-width: 599px) {
.top-layout {
grid-template-columns: 1fr;
padding: 0 12px;
margin-top: 128px;
margin-top: 166px;
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/routes/components/post-display.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function PostDisplay({
return (
<div className={styles["post"]}>
<div className={styles["post-user-img-area"]}>
<img src="/images/dummy-profile.png" alt="プロフィール ダミー" />
<img src="/images/dummy-profile.png" width="57px" height="57px" alt="プロフィール ダミー" />
</div>
<div className={styles["post-contents-area"]}>
<div className={styles["post-information-container"]}>
Expand Down
5 changes: 5 additions & 0 deletions app/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ h1 {
margin: 0;
}

img {
width: 100%;
height: auto;
}

@media (max-width: 599px) {
body {
font-size: 15px;
Expand Down