Skip to content

Commit

Permalink
Refactor and wrap chatlog elements in new "chatlog__reactions" div cl…
Browse files Browse the repository at this point in the history
…ass.
  • Loading branch information
TejasLamba2006 committed Jun 26, 2023
1 parent e416f02 commit 242b270
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/functions/tickets/html/embed/body.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="chatlog__embed">
<div
class="chatlog__embed-color-pill"
style="background-color:#{{EMBED_COLOR}}"
style="background-color:{{EMBED_COLOR}}"
></div>
<div class="chatlog__embed-content-container">
<div class="chatlog__embed-content">
Expand Down
4 changes: 2 additions & 2 deletions src/functions/tickets/html/message/message.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
{{EMBEDS}}

{{COMPONENTS}}

<div class=chatlog__reactions>
{{EMOJI}}

</div>
</div>
</div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/functions/tickets/html/message/start.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

{{COMPONENTS}}

{{EMOJI}}
<div class=chatlog__reactions>
{{EMOJI}}
</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/functions/tickets/html/reaction/custom_emoji.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class=chatlog__reaction>
<div class=chatlog__reaction>
<img class="emoji emoji--small" src="https://cdn.discordapp.com/emojis/{{EMOJI}}.{{EMOJI_FILE}}">
<span class="chatlog__reaction-count">{{EMOJI_COUNT}}</span>
</div>
2 changes: 1 addition & 1 deletion src/functions/tickets/html/reaction/emoji.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class=chatlog__reaction>
{{EMOJI}}
<span class="chatlog__reaction-count">{{EMOJI_COUNT}}</span>
</div>
</div>

0 comments on commit 242b270

Please sign in to comment.