aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorshpuld <shpuld@gmail.com>2017-03-09 01:09:23 +0200
committershpuld <shpuld@gmail.com>2017-03-09 01:09:23 +0200
commit6c8fc99d5a602cb0a38dc0bdbe906e228a6a7cc7 (patch)
treef6604d3107d5f1ef2acabba610bf6365cd3e70bc /src/components/status/status.js
parent5997492795d5cf2d0f575c65e87991348297cdf6 (diff)
Make style setter create an often used base03-border class, use that class in notifications, navpanel and statuses.
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index bc9d6e6c..3e442656 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -32,7 +32,12 @@ const Status = {
return !!this.$store.state.users.currentUser
},
muted () { return !this.unmuted && this.status.user.muted },
- isReply () { return !!this.status.in_reply_to_status_id }
+ isReply () { return !!this.status.in_reply_to_status_id },
+ borderColor () {
+ return {
+ borderBottomColor: this.$store.state.config.colors['base02'],
+ }
+ }
},
components: {
Attachment,