Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Commit 77c940b

Browse files
committed
Change fixed to sticky
1 parent 1bee4aa commit 77c940b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/App.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,13 @@ export default {
3131
<style>
3232
body {
3333
font-family: 'Noto Sans JP', sans-serif;
34-
margin-top: 120px;
3534
}
3635
3736
header {
38-
position: fixed;
37+
position: sticky;
3938
top: 0;
40-
width: 100%;
4139
z-index: 127;
40+
width: 100%;
4241
background-color: white;
4342
box-shadow: 0 3px 2px black;
4443
}

0 commit comments

Comments
 (0)