Skip to content

Commit

Permalink
Fixed chatboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gibbu committed Jul 4, 2024
1 parent 11c9b15 commit 1081d45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
},
"devDependencies": {
"prettier": "^2.8.8"
}
},
"packageManager": "pnpm@8.15.5+sha512.b051a32c7e695833b84926d3b29b8cca57254b589f0649d899c6e9d0edb670b91ec7e2a43459bae73759bb5ce619c3266f116bf931ce22d1ef1759a7e45aa96f"
}
12 changes: 6 additions & 6 deletions src/theme/chat/_message.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body,
#app-mount {
$message: '.messageContent_ec86aa:not(:empty):not(.repliedTextContent_ec86aa):not(.threadMessageAccessoryContent_ec86aa)';
$message: '.messageContent_f9f2ca:not(:empty):not(.repliedTextContent_ec86aa):not(.threadMessageAccessoryContent_ec86aa)';

.message_d5deea {
.channelTextArea_d5deea {
Expand Down Expand Up @@ -60,16 +60,16 @@ body,
z-index: 1;
}

.cozy_ec86aa {
.cozy_f9f2ca {
padding-left: calc(var(--chat-avatar-size) + 26px);
.avatar_ec86aa {
.avatar_f9f2ca {
margin-top: 0;
left: 16px;
width: var(--chat-avatar-size);
height: var(--chat-avatar-size);
border-radius: var(--avatar-roundness, 50%);
}
.header_ec86aa {
.header_f9f2ca {
overflow: visible;
margin-left: 0;
margin-bottom: 10px;
Expand All @@ -88,11 +88,11 @@ body,
border: none;
}
}
.username_ec86aa {
.username_f9f2ca {
text-shadow: 0 0 calc(var(--chat-glow-intensity) * 10px) currentColor;
line-height: normal;
}
.messageContent_ec86aa {
.messageContent_f9f2ca {
pre {
max-width: 100%;
}
Expand Down

1 comment on commit 1081d45

@Eir-nya
Copy link
Contributor

@Eir-nya Eir-nya commented on 1081d45 Jul 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit seems to have caused message content in replies to be formatted as full messages (adds colored background, padding, etc.)

Please sign in to comment.