diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-03-07 08:44:53 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-03-07 08:44:53 +0100 |
| commit | e64a5beb35ca7c356054b68c861cc44ccac42bc5 (patch) | |
| tree | eef83d2a3d68bfac8248f5eb7d41f2432a7bf6f3 /src/components/timeline/timeline.vue | |
| parent | 5143ae7f72c7535872188d9887dc61628add09fb (diff) | |
| parent | 34531de8c027472266c050183ef9ae82ff57643f (diff) | |
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma-fe into develop
Diffstat (limited to 'src/components/timeline/timeline.vue')
| -rw-r--r-- | src/components/timeline/timeline.vue | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 8a302e18..11280a08 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -1,13 +1,13 @@ <template> <div class="timeline panel panel-default"> - <div class="panel-heading base01-background base04"> + <div class="panel-heading timeline-heading base01-background base04"> <div class="title"> {{title}} </div> - <button @click.prevent="showNewStatuses" class="base06 base02-background" v-if="timeline.newStatusCount > 0"> + <button @click.prevent="showNewStatuses" class="base06 base02-background loadmore-button" v-if="timeline.newStatusCount > 0"> Show new ({{timeline.newStatusCount}}) </button> - <button @click.prevent class="base04 base01-background no-press" v-if="!timeline.newStatusCount > 0"> + <button @click.prevent class="base04 base01-background no-press loadmore-button" v-if="!timeline.newStatusCount > 0"> Up-to-date </button> </div> @@ -26,17 +26,18 @@ <style lang="scss"> - .timeline .panel-heading { - position: relative; - display: flex; - + .timeline { + .timeline-heading { + position: relative; + display: flex; + } .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; } - button { + .loadmore-button { position: absolute; right: 0.6em; padding: 0.1em 0.3em 0.25em 0.3em; |
