From 6c8fc99d5a602cb0a38dc0bdbe906e228a6a7cc7 Mon Sep 17 00:00:00 2001 From: shpuld Date: Thu, 9 Mar 2017 01:09:23 +0200 Subject: Make style setter create an often used base03-border class, use that class in notifications, navpanel and statuses. --- src/components/status/status.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/components/status/status.js') 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, -- cgit v1.2.3-70-g09d2