diff options
| author | shpuld <shpuld@gmail.com> | 2017-03-09 01:09:23 +0200 |
|---|---|---|
| committer | shpuld <shpuld@gmail.com> | 2017-03-09 01:09:23 +0200 |
| commit | 6c8fc99d5a602cb0a38dc0bdbe906e228a6a7cc7 (patch) | |
| tree | f6604d3107d5f1ef2acabba610bf6365cd3e70bc /src/components/status/status.js | |
| parent | 5997492795d5cf2d0f575c65e87991348297cdf6 (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.js | 7 |
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, |
