diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-16 10:45:06 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-16 10:45:06 +0900 |
| commit | 32b1afb62606d40ac96e1dd37257bbefb9ec933a (patch) | |
| tree | 38b24b3067573641182f8b0ff0d12e7f7158f9d9 /src | |
| parent | [Client] Fix bug (diff) | |
| download | misskey-32b1afb62606d40ac96e1dd37257bbefb9ec933a.tar.gz misskey-32b1afb62606d40ac96e1dd37257bbefb9ec933a.tar.bz2 misskey-32b1afb62606d40ac96e1dd37257bbefb9ec933a.zip | |
[Client] Better design
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/mobile/tags/post-preview.tag | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/web/app/mobile/tags/post-preview.tag b/src/web/app/mobile/tags/post-preview.tag index 61023ce96d..0ea3356ef2 100644 --- a/src/web/app/mobile/tags/post-preview.tag +++ b/src/web/app/mobile/tags/post-preview.tag @@ -1,8 +1,16 @@ <mk-post-preview> - <article><a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }><img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/></a> + <article> + <a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }> + <img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/> + </a> <div class="main"> - <header><a class="name" href={ CONFIG.url + '/' + post.user.username }>{ post.user.name }</a><span class="username">@{ post.user.username }</span><a class="time" href={ CONFIG.url + '/' + post.user.username + '/' + post.id }> - <mk-time time={ post.created_at }></mk-time></a></header> + <header> + <a class="name" href={ CONFIG.url + '/' + post.user.username }>{ post.user.name }</a> + <span class="username">@{ post.user.username }</span> + <a class="time" href={ CONFIG.url + '/' + post.user.username + '/' + post.id }> + <mk-time time={ post.created_at }></mk-time> + </a> + </header> <div class="body"> <mk-sub-post-content class="text" post={ post }></mk-sub-post-content> </div> @@ -17,11 +25,6 @@ background #fff > article - padding 8px 16px 8px 16px - - @media (min-width 500px) - padding 8px 32px 8px 32px - &:after content "" display block |