Skip to content

Commit

Permalink
fix(emoji): fix emoji reaction wrap (#1967)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flemmli97 authored Apr 10, 2024
1 parent 8142b4f commit 38d3b4f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kit/src/components/message/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ pub fn Message<'a>(cx: Scope<'a, Props<'a>>) -> Element<'a> {
},
div {
class: "{reactions_class}",
aria_label: "message-reaction-container",
aria_label: "message-reactions-container",
cx.props.reactions.iter().map(|reaction| {
let reaction_count = reaction.reaction_count;
let emoji = &reaction.emoji;
Expand Down
2 changes: 0 additions & 2 deletions kit/src/components/message/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@
border: 1px solid var(--border-subtle-color);
border-radius: var(--border-radius-more);
background-color: var(--secondary-dark);
margin-left: 5px;
margin-top: 3px;
padding: 2px 5px;
cursor: pointer;
border: none;
Expand Down
3 changes: 3 additions & 0 deletions ui/src/layouts/chats/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@
.message-reactions-container {
display: inline-flex;
flex-direction: row;
flex-wrap: wrap;
color: var(--text-color);
justify-content: flex-end;
scale: 0.8;
transform-origin: left;

&.pointer {
cursor: pointer
Expand Down

0 comments on commit 38d3b4f

Please sign in to comment.