Skip to content

Commit

Permalink
chore: fix formatting in ChatEventBar
Browse files Browse the repository at this point in the history
  • Loading branch information
vyneer committed Mar 28, 2024
1 parent 2aca025 commit acf1a47
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assets/chat/js/menus/ChatEventBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ export default class ChatEventBar {
*/
setExpiryPercentage(eventWrapper, percentageLeft) {
eventWrapper.dataset.percentageLeft = percentageLeft;
eventWrapper.querySelector(
'.event-top',
).style.background = `linear-gradient(90deg, #282828, #282828 ${percentageLeft}%, #151515 ${percentageLeft}%, #151515)`;
eventWrapper.querySelector('.event-top').style.background =
`linear-gradient(90deg, #282828, #282828 ${percentageLeft}%, #151515 ${percentageLeft}%, #151515)`;
}
}

0 comments on commit acf1a47

Please sign in to comment.