Skip to content

Commit

Permalink
初期状態からスマホサイズになるように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
MurakawaTakuya committed Nov 6, 2024
1 parent b152ac5 commit 87c9728
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src/app/Components/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import styles from "./Header.module.scss";

export default function Header() {
return (
<header className={styles.header}>
<h1>Todo Real(仮)</h1>
</header>
);
return <header className={styles.header}>Todo Real(仮)</header>;
}
22 changes: 20 additions & 2 deletions src/styles/globals.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
html,
body {
html {
background: linear-gradient(
0deg,
rgb(226 249 253) 10.5%,
rgb(231 247 242) 86.8%
);
margin: 0;
max-width: 100vw;
overflow-x: hidden;
padding: 0;
}

body {
background: white;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji";
height: 100vh;
margin: 0 auto;
max-width: 700px;
}

main {
background: white;
}

0 comments on commit 87c9728

Please sign in to comment.