Skip to content
Snippets Groups Projects
Commit fd0e63c1 authored by rinsuki's avatar rinsuki
Browse files

モバイル版のユーザーページの表示切り変えnavを上についてくるように

parent 8d6356c5
No related branches found
No related tags found
No related merge requests found
......@@ -40,12 +40,14 @@
</a>
</div>
</div>
<nav>
</header>
<nav>
<div class="nav-container">
<a :data-is-active=" page == 'home' " @click="page = 'home'">%i18n:mobile.tags.mk-user.overview%</a>
<a :data-is-active=" page == 'posts' " @click="page = 'posts'">%i18n:mobile.tags.mk-user.timeline%</a>
<a :data-is-active=" page == 'media' " @click="page = 'media'">%i18n:mobile.tags.mk-user.media%</a>
</nav>
</header>
</div>
</nav>
<div class="body">
<x-home v-if="page == 'home'" :user="user"/>
<mk-user-timeline v-if="page == 'posts'" :user="user"/>
......@@ -109,7 +111,6 @@ export default Vue.extend({
main
> header
box-shadow 0 4px 4px rgba(0, 0, 0, 0.3)
> .banner
padding-bottom 33.3%
......@@ -207,7 +208,13 @@ main
> i
font-size 14px
> nav
> nav
position sticky
top 48px
box-shadow 0 4px 4px rgba(0, 0, 0, 0.3)
background-color #313a42
z-index 1
> .nav-container
display flex
justify-content center
margin 0 auto
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment