logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: ab90dc9fb1785d237be5fa3ff207056d7935ddaf
parent a9c2d373157708c9d08289edb55069a9a054a7e6
Author: Henry Jameson <me@hjkos.com>
Date:   Thu, 15 Aug 2024 21:53:12 +0300

Revert all the user highlight stuff for now

Diffstat:

Msrc/components/status/status.vue5+++--
Msrc/services/user_highlighter/user_highlighter.js6+-----
2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/components/status/status.vue b/src/components/status/status.vue @@ -3,8 +3,7 @@ v-if="!hideStatus" ref="root" class="Status" - :class="[{ '-focused': isFocused }, { '-conversation': inlineExpanded }, userClass, { highlighted: userStyle, '-repeat': retweet && !inConversation }]" - :style="[ userStyle ]" + :class="[{ '-focused': isFocused }, { '-conversation': inlineExpanded }]" > <div v-if="error" @@ -121,6 +120,8 @@ <div v-if="!deleted" + :class="[userClass, { highlighted: userStyle, '-repeat': retweet && !inConversation }]" + :style="[ userStyle ]" class="status-container" :data-tags="tags" > diff --git a/src/services/user_highlighter/user_highlighter.js b/src/services/user_highlighter/user_highlighter.js @@ -27,11 +27,7 @@ const highlightStyle = (prefs) => { } } else if (type === 'solid') { return { - backgroundImage: [ - 'repeating-linear-gradient(90deg,', - `${tintColor} ,`, - `${tintColor} 20px` - ].join(' '), + backgroundColor: tintColor2, ...customProps } } else if (type === 'side') {