This commit is contained in:
syuilo 2017-11-01 12:28:35 +09:00
parent 04051008fa
commit f60eae5c91
1 changed files with 8 additions and 1 deletions

View File

@ -27,6 +27,7 @@
> main > main
> h1 > h1
font-size 1.5em
color #f00 color #f00
</style> </style>
<script> <script>
@ -90,7 +91,7 @@
<mk-channel-post> <mk-channel-post>
<header> <header>
<a class="index" onclick={ reply }>{ post.index }:</a> <a class="index" onclick={ reply }>{ post.index }:</a>
<a class="name" href={ '/' + post.user.username }><b>{ post.user.name }</b></a> <a class="name" href={ CONFIG.url + '/' + post.user.username }><b>{ post.user.name }</b></a>
<mk-time time={ post.created_at }/> <mk-time time={ post.created_at }/>
<mk-time time={ post.created_at } mode="detail"/> <mk-time time={ post.created_at } mode="detail"/>
<span>ID:<i>{ post.user.username }</i></span> <span>ID:<i>{ post.user.username }</i></span>
@ -113,6 +114,12 @@
padding 0 padding 0
> header > header
position -webkit-sticky
position sticky
z-index 1
top 0
background rgba(239, 239, 239, 0.7)
> .index > .index
margin-right 0.25em margin-right 0.25em
color #000 color #000