diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-06-07 17:58:24 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-06-07 17:58:24 +0300 |
| commit | f915ae174d3454ade20b9f6c827ce84b04ad7089 (patch) | |
| tree | f969f3a4a34f682fd8811cedde7dbf46ed7e0d68 /src/components/status/status.vue | |
| parent | 449a466ef2a071db07fb63dddf5b7dad704000ec (diff) | |
Add floating status-previews on reply-link mouseover in conversations and make them optional in the settings, fix a small visual inconsistency in muted statuses while editing the file already..
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index a921c9a6..e582a80d 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -19,7 +19,7 @@ <div class="media status container muted"> <small><router-link :to="{ name: 'user-profile', params: { id: status.user.id } }">{{status.user.screen_name}}</router-link></small> <small class="muteWords">{{muteWordHits.join(', ')}}</small> - <a href="#" class="unmute" @click.prevent="toggleMute"><i class="icon-eye-off"></i></a> + <a href="#" class="unmute" @click.prevent="toggleMute"><i class="fa icon-eye-off"></i></a> </div> </template> <template v-if="!muted"> @@ -56,7 +56,7 @@ </small> <template v-if="isReply && !expandable"> <small> - <a href="#" @click.prevent="gotoOriginal(status.in_reply_to_status_id)" ><i class="icon-reply"></i></a> + <a href="#" @click.prevent="gotoOriginal(status.in_reply_to_status_id)"><i class="icon-reply" @mouseenter="replyEnter(status.in_reply_to_status_id, $event)" @mouseout="replyLeave()"></i></a> </small> </template> - @@ -70,7 +70,7 @@ <h4 class="replies" v-if="inConversation"> <small v-if="replies.length">Replies:</small> <small v-for="reply in replies"> - <a href="#" @click.prevent="gotoOriginal(reply.id)">{{reply.name}} </a> + <a href="#" @click.prevent="gotoOriginal(reply.id)" @mouseenter="replyEnter(reply.id, $event)" @mouseout="replyLeave()">{{reply.name}} </a> </small> </h4> </div> @@ -178,10 +178,6 @@ margin-right: -0.3em; } - .greentext { - color: green; - } - a { display: inline-block; word-break: break-all; @@ -222,6 +218,10 @@ } } + .greentext { + color: green; + } + .status-conversation { border-left-style: solid; } @@ -278,7 +278,7 @@ } .muted { - padding: 0.1em 0.7em 0.1em 0.8em; + padding: 0.1em 0.4em 0.1em 0.8em; button { margin-left: auto; } |
