From be113e1c72a32145cc15cde37f6ec9447dc4496d Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 11 Feb 2017 08:49:50 +0900 Subject: [PATCH] #150 --- src/web/app/common/scripts/text-compiler.js | 2 +- src/web/app/desktop/tags/timeline-post.tag | 8 ++++++++ src/web/app/mobile/tags/timeline-post.tag | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/web/app/common/scripts/text-compiler.js b/src/web/app/common/scripts/text-compiler.js index 29b700e62..25f36382f 100644 --- a/src/web/app/common/scripts/text-compiler.js +++ b/src/web/app/common/scripts/text-compiler.js @@ -27,7 +27,7 @@ module.exports = function(tokens, shouldBreak, shouldEscape) { case 'link': return ''; case 'mention': - return '' + token.content + ''; + return '' + token.content + ''; case 'hashtag': // TODO return '' + escape(token.content) + ''; case 'code': diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag index 1dfaf0d58..6d0f5ca83 100644 --- a/src/web/app/desktop/tags/timeline-post.tag +++ b/src/web/app/desktop/tags/timeline-post.tag @@ -239,6 +239,14 @@ background #f8f8f8 border-radius 2px + [data-is-me]:after + content "you" + padding 0 4px + margin-left 4px + font-size 80% + color $theme-color-foreground + background $theme-color + > .media > img display block diff --git a/src/web/app/mobile/tags/timeline-post.tag b/src/web/app/mobile/tags/timeline-post.tag index 72e56423d..d2313d018 100644 --- a/src/web/app/mobile/tags/timeline-post.tag +++ b/src/web/app/mobile/tags/timeline-post.tag @@ -219,6 +219,14 @@ background #f8f8f8 border-radius 2px + [data-is-me]:after + content "you" + padding 0 4px + margin-left 4px + font-size 80% + color $theme-color-foreground + background $theme-color + > .media > img display block